Comment

Comment by MatekCopatek

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.

Is there something extra these React libraries do that prevents them from doing this?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton