Real-world CSS vs. CSS-in-JS performance comparison
Can someone explain the appeal of CSS-in-JS? I've used scoped styling in .vue components extensively, at a quick glance it seems to offer similar benefits (lives right in your component and is scoped to it), but most importantly it can be extracted to a plain CSS file when building frontend assets.<p>Is there something extra these React libraries do that prevents them from doing this?