You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requires no learning curve, it's been used on HTMLElement
thinking beyond class:, the same construct could be used for any prop (value:me={user==="olivier") or any other myprop:somevalue={condition}). Similar constructs are possible with other frameworks.
In summary, the proposal is more Svelte.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
Duplicate of #12229 - issue type (bug report/feature request/etc.) doesn't matter - it was closed because there already is an issue (no matter whether opened or closed) for this topic.
Describe the problem
the analysis around the current props limitation on component has the following shortcomings:
<div class:rtl={isRTL}/>
and not<MyComp class:rtl={isRTL}/>
.consider the code below:
Describe the proposed solution
allow
myprop:somevalue={condition}
manipulations on all elements, HTMLElement or Components.The above code could be rewritten as:
for the following benefits:
thinking beyond
class:
, the same construct could be used for any prop (value:me={user==="olivier")
or any othermyprop:somevalue={condition}
). Similar constructs are possible with other frameworks.In summary, the proposal is more Svelte.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: