Any time I see criticism of CSS in JS, and a move to CSS modules, I get sad they didn’t just do a bit more research. You can have both, while also not shipping any JS runtime for CSS in JS! And with TypeScript support.
At the cost of pretty bad build time performance when the application grows.
We migrated a >1M LOC codebase to CSS Modules from VE for a ~30% build time speed improvement and much better tree shaking on Next.js
lloydatkinson · · focus · HN ↗
<a href="https://vanilla-extract.style/" rel="nofollow">https://vanilla-extract.style/
fgkramer · · focus · HN ↗