Renders yes when condition is TRUE, and otherwise (if provided)
when it is FALSE. The active branch is fully mounted and the inactive
branch is destroyed.
Usage
When(condition, yes, otherwise = NULL)
Arguments
- condition
A reactive expression that returns a logical value.
- yes
Tag tree to render when the condition is TRUE.
- otherwise
Optional tag tree to render when the condition is FALSE.
Value
A nacre control-flow node.