Utility classes are good and all. Scoped css is great.
"Naming things is hard" is still such a cop-out.
You can still name things when it makes sense, I just like that in tailwind I don't have to name ALL of the things. It's nice to be able to easily add some margin, or padding, or a few style properties to an element, instead of coming up with a name AND adding those properties in a separate file.
Re:Tailwind CSS v4.0.0 Alpha
by cqqxo4zV46cp on Wednesday March 06, 2024 @06:37PM
(#39623218)
“Naming things” being one of the two / three hard problems in software development is literally a meme. They didn’t pull it out of thin air.
Working on an app with a great deal of technical debt last year, moving to Tailwind made a world of difference in being able to restyle components without also breaking styles on distant parts of the app that nobody on the team realized were relying on the same styles.