5 ms·
> Sure, it's easy to overthink things but most of the time, it's not that complex. then you sir are the one that have not worked on complex projects. i'm curre
by danaw 4mo ago
> Sure, it's easy to overthink things but most of the time, it's not that complex.
then you sir are the one that have not worked on complex projects. i'm currently the lead on a design system for a fortune 100 company with nearly 100 block level components and many other smaller elements. responsive, multi-theme/site support, animations, accessibility, robust interactivity, etc. not even a button or link is simple when you're building complex systems
tailwind allows us to reason more clearly about these often very complex components
> inline CSS can't be cached
this shows your lack of understanding. first off, it's not inline css, they're classes and thus you only ever define "flex" in one place vs many many places in non-utility css approaches. in fact, sorted html classes are compressible over the wire so you're doubly wrong.
> because they never learned it properly
condescending
> it lets you use CSS while not requiring an
understanding of how CSS works, beyond its most basic concepts
also condescending and just such a boring, over used argument i always hear from haters of tailwind
maybe try and counter my arguments without the attitude? maybe understand seasoned veterans of css might have their reasons to choose it?
- amazingamazing 4mo agoI have used tailwind and tachyons and they are fine. I do winder though it seems like you end up being stuck with them. How would you migrate to traditional CSS without effectively rewriting all of your css? I also wonder if it is necessary still with css modules and the fact web frameworks allow for scoped css per component.
- faefox 4mo agoTailwind is just CSS so there's no lock-in to speak of and no migration necessary. If you had a specific instance where Tailwind wasn't a good fit you can just hand-write as needed. Sure, if you wanted to stop using Tailwind altogether you would have a lot of rewriting to do but I'm not sure how that's uniquely different or worse than, say, migrating a project from React to Angular.
- 4rt 4mo agoif you're writing class="flex-inline width-30 font-large" it's even worse than inline css because it has an abstraction layer and dependencies. just write css, tailwind has always been total junk.
- array_key_first 4mo agoThere are legitimate problems with using CSS, especially in a large team setting. I think we all have experience with append-only stylesheets. That's what tailwind addresses.