3 ms·
Tailwind is a lot of fun when you end up with spaghetti code and classes littered all over the place. Sometimes there are 20+ classes on 1 div, it's insanely ha
by DoesntMatter22 4y ago
Tailwind is a lot of fun when you end up with spaghetti code and classes littered all over the place. Sometimes there are 20+ classes on 1 div, it's insanely hard to maintain.
I love tailwind for small things but when I have to maintain it, it's pretty awful.
- tomtheelder 4y agoI've had the total opposite experience. I've found that any sort of CSS scheme that tries to be clever or have any meaningful amount of re-use becomes an unmaintainable nightmare over time. Tailwind keeps the bits and pieces of the utility classes as close to the content that they are styling as possible, and that _drastically_ reduces the complexity of maintenance. You use the reusability scheme you already have- typically components in some sense, React or templates or whatever- instead of attempting to layer another one on top for just your styles. In fact, maintainability is by far the #1 reason I use Tailwind. IMO it's actually quite a bit more clunky and slow for the initial styling process.
- DoesntMatter22 4y agoidk what to say about that. Maybe you are using css wrong then