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
e.g. <sl-radio value="0"> when value has type unknown, we produce the diagnostic:
You are assigning the primitive '0' to a non-primitive type unknown. Use '.' binding instead?
This isn't ideal, because this code should work fine (assuming that value can deserialize the attribute value '0', which I think is a reasonable responsibility to put on it) and my guess is that a static attribute will be cheaper than a dynamic property set to a constant. Certainly cheaper on update, since it's one fewer step to take.
The text was updated successfully, but these errors were encountered:
e.g.
<sl-radio value="0">
whenvalue
has typeunknown
, we produce the diagnostic:This isn't ideal, because this code should work fine (assuming that
value
can deserialize the attribute value'0'
, which I think is a reasonable responsibility to put on it) and my guess is that a static attribute will be cheaper than a dynamic property set to a constant. Certainly cheaper on update, since it's one fewer step to take.The text was updated successfully, but these errors were encountered: