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
Using the universal renderer - I have a property style for nodes which is never dynamic. Is there a way to list certain props / attributes as never dynamic to avoid the user needing to add /@once/ marker?
We do a trick where we can evaluate expressions and hoist them out. But that only works within module scope and basically on constants... classList and Style are a bit special cased because their dynamicism is broken down to object properties, but I don't have a generic way to do that. In general I could see the potential of adding a list for saying static I suppose, but we don't have that concept in the DOM.
Using the universal renderer - I have a property
style
for nodes which is never dynamic. Is there a way to list certain props / attributes as never dynamic to avoid the user needing to add /@once/ marker?I see style might do something like this already:
The text was updated successfully, but these errors were encountered: