logoalt Hacker News

francislavoietoday at 10:05 AM1 replyview on HN

Absolutely not. Semantic classes are the wrong way to go. Your components (and their props API) are what encode the semantics. With Tailwind you never need to try to come up with a name for anything relating to style, you just use utility classes. It reduces cognitive load significantly.


Replies

drdaemantoday at 12:00 PM

And so we’re essentially back to <font color=red size=10>?