4 ms·
I think you missed the point of Tailwind, which is not to be an end-all be-all and replace CSS, it's just a utility library to replace/reduce the size of repeti
by aej11 3y ago
I think you missed the point of Tailwind, which is not to be an end-all be-all and replace CSS, it's just a utility library to replace/reduce the size of repetitive one-off classes. Nothing prevents you from using a CSS file for the more complex things you listed (which you should do), and Tailwind doesn't claim to replace all those parts of CSS.
- rado 3y agoJust a 50 KB library? Half of the budget of a fast site, according to Lighthouse.
- sodapopcan 3y agoTailwind isn't included in your final bundle, it outputs a CSS file based on what classes you use.
- ehutch79 3y agoThe reason people think tailwind is supposed to replace CSS is the way adam wathan and the tailwind fanboys position it that way. There's a lot talk about how terrible css is from that camp. Honestly, a lot of the negative sentiment comes from how the tailwind 'community' acts and positions themselves.
- kristiandupont 3y agoCan you provide a link to where Adam Wathan said something like that?
- ehutch79 3y agohttps://tailwindcss.com/ https://tailwindcss.com/ https://twitter.com/adamwathan https://twitter.com/adamwathan The tailwind home page feels tamer now than before, but the tone is still there. Adam’s replies on twitter have always been a problem. I’m not going to go searching old tweet replies, so you can think I’m talking out of my ass if you want. But the guy is an ass. A lot of the responses to even neutral articles were whining manbabyish stuff (yes that’s subjective opinion). I haven’t seen it lately, so I’m hoping someone had a talk with him.
- ehutch79 3y agoI do want to reiterate that I think tailwind itself has some great ideas. And there’s nothing wrong with utility css, if you’re not using a library you’ll end up writ a lot of it yourself.