3 ms·
The advantages of Tailwind are: - the styling is colocated with the markup - sensible defaults - avoids rule hierarchy/inheritance - minimal JS at runtime Dis
by theSherwood 1y ago
The advantages of Tailwind are:
- the styling is colocated with the markup
- sensible defaults
- avoids rule hierarchy/inheritance
- minimal JS at runtime
Disadvantages:
- build step and configuration
- dynamic styling complexity
I don't think that's a bad tradeoff. And we're talking about styling on the web, here. So there are no good solutions. But there is a bad solution and it's CSS-in-JS.