Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You mean CSS-in-JS?




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.

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: