News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by afiori on Wednesday August 16, 2023 @09:31AM (#37146770)
Tailwind is not Styled Components, there is no dynamic component to it.

In that regard it is pretty similar to Sass.

The main effect on performance likely are bigger html documents (which can be optimized) and simpler CSS selectors.

In real world usage I would honestly guess that using simpler css selector (with far fewer propagating updates) is a net performance win.

(It was one of the showstopper for the :has pseudoclass, for a long time nobody knew of a way to implement it efficiently)

There are no comments on this comment yet.