logoalt Hacker News

koakuma-chanlast Wednesday at 7:45 PM2 repliesview on HN

You mean CSS-in-JS?


Replies

satvikpendemlast Wednesday at 8:10 PM

CSS modules is the native solution. But yes, compile-time CSS in TypeScript like PandaCSS or Vanilla Extract or StyleX (not run-time like Emotion) are also great alternatives.

pier25last Thursday at 4:14 PM

No. For example, scoped CSS in Vue, Svelte, or Astro components.