Re:Why I don't like Tailwind CSS
by blacktriangle on Friday March 12, 2021 @11:51AM
(#26437786)
Without Tailwind: guess at what the proper class name is, use it where you think it makes sense, eventually find out you got it wrong and have to fix everything.
With Tailwind: defer decisions about assigning classes until you've built enough to see what the proper abstractions are, then just refactor out the repeated utility classes. There's even plugins that will consistently sort your Tailwind classes so that refactoring can be automated by simple search and replace.
I never understood this argument, at this point you are just writing CSS with extra steps and unnecessary abstractions.