Migrating to Emotion is causing a big increase in Layout Shift (with SSR)
Hey all. I just migrated a project from Linaria to Emotion, but am seeing a massive increase in Cumulative Layout Shift, and I'm not sure why. I'm using Next.js and can confirm that critical CSS extraction is working fine after looking at the HTML output. It's my understanding…
Using @emotion/css directly, garbage collection of unused classes?
I'm trying to use @emotion/css directly in a Svelte application, but I was wondering how Emotion knows it should remove a style again when it's not used anymore. Currently if you calculate a class / style based on a svelte prop that changes very often, you end up which a huge…
Why is emotion core recommended for React instead of emotion styled?
The documentation states: To me it seems natural to separate the styled components in a different file and then import them to use in their component, however this does not seem to make sense using only emotion/core since the components are styled directly. So I wonder what are…
Emotion has become very popular, but what about UI component libraries?
Emotion and Emotion Core now have over 4M weekly downloads. However, as a consumer of Emotion, I find myself limited in the ability to use external UI libraries. I'd love to see a UI component library which I can customize and style with Emotion, just as I do with my own…