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 thinking the shorthands are actually better off being added as helpers instead of having them automatically mapped.
I feel there's too much uncertainty with the auto registration resulting from taking all browser registrered property names and mapping them to their shorthand by initials.
I think I'd rather specify them statically in a named export that can be added using .helper().
It would look something like this:
importb,{shorthands}from'bss'b.helper(shorthands)
Another one that I'd add in a simliar fashion would be unique values as property names. That would look like this:
I'm thinking the shorthands are actually better off being added as helpers instead of having them automatically mapped.
I feel there's too much uncertainty with the auto registration resulting from taking all browser registrered property names and mapping them to their shorthand by initials.
I think I'd rather specify them statically in a named export that can be added using
.helper()
.It would look something like this:
Another one that I'd add in a simliar fashion would be unique values as property names. That would look like this:
The text was updated successfully, but these errors were encountered: