Hacker News new | ask | show | jobs
by dgb23 1473 days ago
You use refactoring/code structure techniques just like with regular code. Group stuff into components that belong together, use sensible names etc.

The cost of tailwind is that you do a bit of upfront work, when defining your design system/tokens in their config. The benefit is high default performance (css is less bloated) and high productivity because you tend not to switch to CSS/SCSS and get a natural DRYness from working with it.