7 ms·
I used to be a naysayer of tailwind. However after getting practically forced into it I'm now drinking the koolaid. Yes things like having to duplicate styles u
by jackdh 1y ago
I used to be a naysayer of tailwind. However after getting practically forced into it I'm now drinking the koolaid. Yes things like having to duplicate styles using multi cursor is kind of silly, however for the vast majority of the time, having the styles written clearly each time, for me, makes it worth it.
There is also nothing stopping you mixing and matching.
- pier25 1y ago> There is also nothing stopping you mixing and matching. Yes, common sense. Having multiple approaches to solve the same thing tends to be a bad idea.
- hugeBirb 1y agoThis is an extremely limiting view. They are both CSS at the end of the day. If extracting the complicated inline TailwindCSS class to its own vanilla CSS class makes sense for readability then what's the harm? You could also just define your own variables. Tailwind gives you full control to do this.
- pier25 1y agoThe harm will be in a complicated project where you might have to figure out where some styles are coming from.
- jackdh 1y agoMy point is that there is no one CSS library to rule them all and likely never will be. The closest to that is going back to pure raw CSS which I highly doubt people will do. And yes while it's obviously not ideal to have a hundred competing libraries in your code, you can create what works for you / your team.
- pier25 1y ago> The closest to that is going back to pure raw CSS which I highly doubt people will do. Huh? Tons of people write vanilla CSS which is getting better every year.
- const_cast 1y agoVery very few people, in practice, write vanilla CSS. They use libraries and frameworks often, like Bootstrap. Sure, that might be "vanilla CSS", but you didn't write it, presumably because you didn't want to. Look, after a certain point we have to call a spade a spade and acknowledge that CSS is just too cumbersome, too awkward, and too complicated for most developers and companies. How much CSS do you see that seems to be read-only? People just... tack on to the end of the style sheet, right? The promise of re-usability is great, but is it actually happening? IME, no.
- pier25 1y ago> Very very few people, in practice, write vanilla CSS. That's not what I've seen. Most frontend developers I know usually write CSS (or SCSS previously). > CSS is just too cumbersome, too awkward, and too complicated for most developers and companies. Really? I disagree but are you arguing TW solves any of that?