We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Duplicated CSS rule in devloop if using SSR
To Reproduce
yarn run start:ssr
localhost:3000
._1wyb1osq { font-size:100% }
Expected behavior CSS rule should be defined once
Additional context Compiled moves all found server-side rendered style elements to the head: https://github.com/atlassian-labs/compiled/blob/master/packages/react/src/runtime/style-cache.tsx#L23 Also, insert style again https://github.com/atlassian-labs/compiled/blob/master/packages/react/src/runtime/style.tsx#L63 It causes same CSS being inserted to DOM twice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Duplicated CSS rule in devloop if using SSR
To Reproduce
yarn run start:ssr
localhost:3000
._1wyb1osq { font-size:100% }
is defined twiceExpected behavior
CSS rule should be defined once
Additional context
Compiled moves all found server-side rendered style elements to the head: https://github.com/atlassian-labs/compiled/blob/master/packages/react/src/runtime/style-cache.tsx#L23
Also, insert style again https://github.com/atlassian-labs/compiled/blob/master/packages/react/src/runtime/style.tsx#L63
It causes same CSS being inserted to DOM twice.
The text was updated successfully, but these errors were encountered: