We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I rendering a simple component using styleX in storybook, but I notices the same css is applied 4 times.
What could be the reason for this?
The css is applied only one time.
"@stylexjs/stylex": "0.7.5", "@stylexjs/webpack-plugin": "^0.9.3", "storybook": "^8.6.12"
create a simple componente and apply the styles like this
const styles = stylex.create({ marqueeBase: { fontSize: '12px', }); const Marquee = ({ title, amount, info }: MarqueeProps) => { const { symbol, dollars, cents } = format.currencyObject(amount); return ( <div {...stylex.props(styles.marqueeBase)} data-testid="marquee-container"> Text </div>) }
No response
The text was updated successfully, but these errors were encountered:
Please update to the latest version first
Sorry, something went wrong.
No branches or pull requests
Describe the issue
I rendering a simple component using styleX in storybook, but I notices the same css is applied 4 times.
What could be the reason for this?
Expected behavior
The css is applied only one time.
Steps to reproduce
"@stylexjs/stylex": "0.7.5",
"@stylexjs/webpack-plugin": "^0.9.3",
"storybook": "^8.6.12"
create a simple componente and apply the styles like this
Test case
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: