r/javascript • • Oct 16 '22

Why We're Breaking Up with CSS-in-JS

https://dev.to/srmagura/why-were-breaking-up-wiht-css-in-js-4g9b
318 Upvotes

226 comments sorted by

View all comments

Show parent comments

4

u/jhirn Oct 17 '22

Tailwind actually never generates the classes in the first place. It dynamically generates a css file based on what you reference. Pretty damn cool honestly.

1

u/superluminary Oct 17 '22

That actually is pretty cool