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
I'm commonly using props start with data-. data-* is recommended to exchange proprietary information. Through this way, I don't need to worry about the attribute that I use to exchange data will cause any impact on dom.
props: {"data-checked": {type: Boolean}}
If hyphenated prop names have been deprecated, I wish I can use props start with 'data-' like this in future:
@young-steveo I'm not sure if the config is necessary here - it seems very unlikely to conflict with 3rd party libs, and even if it does you can use the non-data-prefixed syntax to avoid it.
I'm commonly using props start with
data-
.data-*
is recommended to exchange proprietary information. Through this way, I don't need to worry about the attribute that I use to exchange data will cause any impact on dom.If hyphenated prop names have been deprecated, I wish I can use props start with 'data-' like this in future:
And
If not find properer attribute, then
The text was updated successfully, but these errors were encountered: