Open tyler-dot-earth opened 3 months ago
Playing around with vite-plugin-stylex and react-strict-dom, hit some unexpected behavior when trying to merge styles with .props method (stylex.props is css.props with react-strict-dom).
vite-plugin-stylex
react-strict-dom
.props
stylex.props
css.props
StyleX docs on merging styles, variants, etc:
Button code:
The result is that I have no styles on buttons
Am I doing this wrong? Is this a bug with vite-plugin-stylex?
Thanks
Playing around with
vite-plugin-stylex
andreact-strict-dom
, hit some unexpected behavior when trying to merge styles with.props
method (stylex.props
iscss.props
withreact-strict-dom
).StyleX docs on merging styles, variants, etc:
Button code:
The result is that I have no styles on buttons
Am I doing this wrong? Is this a bug with
vite-plugin-stylex
?Thanks