Conditional rendering
When the to:
value is null
, it skips the output of that template, meaning it won't get rendered at all.
I the following example, the template won't be rendered if name is undefined:
In the following example, the template won't be rendered if the body contains a specific string:
Last updated