3 ms·
I strongly disagree on the maintainability. Mistakes are easy to make and have been made when comparing a list of 20 class names across a dozen elements. Its on
by orangepanda 2y ago
I strongly disagree on the maintainability. Mistakes are easy to make and have been made when comparing a list of 20 class names across a dozen elements. Its only "maintainable" if you ignore the class list when reading. I review my local evangelists' tailwind code and from their mistakes its clear they're not reading the class list.
It reminds me of how some people claim they're great at multitasking and can text & drive with no issues - meanwhile not even being aware of what they're missing.
Tailwind has its uses, but it should not be the default choice.
- lobsterthief 2y agoI’ve experienced the exact same thing. Most TW evangelists I know are admittedly not that great at CSS. Those who are generally prefer a library like MUI instead, which offers the same maintainability benefits, a far more consistent UI, but with a higher learning curve.
- dabber 2y agoI'd love to love MUI, but in my experience: MUI + React + Typescript just moves the toil of doing anything away from the style concerns and makes it a purely Typescript puzzle.
- nightski 2y agoAs an end user (not developer) I'd take just about any design system over MUI. It's so clunky/heavy, has an abundance of useless white space, and just feels really outdated.
- 0x457 2y ago> a far more consistent UI That's what I like about tailwindcss - unlike MUI and co, it lets you follow sane design rules laid by tailwind and yet make the website look different from the rest. Consistency of UI entirely depends on the user of tailwind.
- progx 2y agoBut if they use tailwind classes wrong, they would use css styles wrong too.
- recursivegirth 2y agoStrongly disagree, Tailwind should be a first choice for anyone reaching for their first utility/css framework. Tailwind imposes a very minimally opinionated styling system, that can easily be broken out of when a developer needs to. I wrote about some of my thoughts here about tailwind and the design system it imposes: https://alexmason.me/blog/2024-03-02-tailwind-made-css-great-again/ https://alexmason.me/blog/2024-03-02-tailwind-made-css-great...
- llamaimperative 2y agoWhat kind of mistakes are easy to make? And why are you “comparing” class name lists?
- datavirtue 2y agoAll this talk reminded me of the extensions I installed to deal with these issues.