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, personally, really like this API. But, I have recently felt that it may not be the best.
The problem with prop-based styles of compile-time, extracted primitives: they deceive the user. They aren't native props that may be dynamic. They're a different kind of prop, that doesn't really have a way to identify itself as different. [idea: maybe a new naming convention could help? _width={50} to denote a compile-away value? This way, the user would know to not have anything dynamic here.]
Consider css={``} instead, since folks are more used to this being a special prop?
The text was updated successfully, but these errors were encountered:
I, personally, really like this API. But, I have recently felt that it may not be the best.
The problem with prop-based styles of compile-time, extracted primitives: they deceive the user. They aren't native props that may be dynamic. They're a different kind of prop, that doesn't really have a way to identify itself as different. [idea: maybe a new naming convention could help?
_width={50}
to denote a compile-away value? This way, the user would know to not have anything dynamic here.]Consider
css={``}
instead, since folks are more used to this being a special prop?The text was updated successfully, but these errors were encountered: