6 ms·
Tailwind (CSS) doesn't need a javascript runtime, the browser can run it natively
by o_m 4y ago
Tailwind (CSS) doesn't need a javascript runtime, the browser can run it natively
- nailer 4y agoTailwind is literally someone else’s PostCSS output.
- throwaway29495 4y agoNo, it's your own PostCSS output. At least if you want to only have the definitions you actually use.
- nailer 4y agoOK I mean “someone else wrote the mixins” you mean “you ran the compiler and did tree shaking”.
- mcluck 4y agoYou can write CSS-in-JS style without a runtime https://vanilla-extract.style/ https://vanilla-extract.style/ In my opinion, this gives you all of the supposed benefits of Tailwind without all of the noise and annoying opinions that come with Tailwind
- satvikpendem 4y agoTheir Sprinkles API is beautiful for keeping a design system and code in sync, so much that Tailwind users had to copy it with the CVA library.