- [x] I searched for an existing RRFC which might be relevant to my RRFC ## Motivation Simplify conditional templates ## Example ```ts html` <div v-if=${isEmpty} class="placeholder">${this.placeholder}</div> <div v-else-if=${!this.multiple} class="value">${currentLabels}</div> <dy-scroll-box v-else class="values"> ${typeof currentLabels?.at(0) === 'object' ? currentLabels : currentLabels?.join(', ')} </dy-scroll-box> ` ``` ## How [Implemented](https://github.com/mantou132/gem/commit/114715a31f9522cfe50579cdb33fc769b88c2787#diff-152447b60b2f692bbf67e1aed0aa11aeb8db007103df785eab50b7bb84794ac9L550) in the `_clone` method of `TemplateInstance` ### Current Behavior ### Desired Behavior ## References <!-- Examples: * Related to #0 * Depends on #0 * Blocked by #0 --> * n/a
Motivation
Simplify conditional templates
Example
How
Implemented in the
_clonemethod ofTemplateInstanceCurrent Behavior
Desired Behavior
References