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 have a problem with understanding docs. It seems that when using criticalCss to extract styles into head in SSR scenario I should be using <style data-emotion-css="cache_key and ids">{extracted styles}</style>
I'm using custom cache provider with my own key.
Later on when hydration happens it uses data-emotion-css attribute and not data-emotion.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I have a problem with understanding docs. It seems that when using criticalCss to extract styles into head in SSR scenario I should be using
<style data-emotion-css="cache_key and ids">{extracted styles}</style>
I'm using custom cache provider with my own key.
Later on when hydration happens it uses
data-emotion-css
attribute and notdata-emotion
.Is that a correct assumption?
I'd appreciate any answers.
Cheers,
Furai
Beta Was this translation helpful? Give feedback.
All reactions