News for hackers. Stuff that matters.
Re:Tailwind Is a Leaky Abstraction by stack_framer on Tuesday November 29, 2022 @09:03AM (#33787678)
I hope what you describe will eventually be true for me, but so far the purported benefit of not jumping around isn't being realized. After 5 weeks of using Tailwind every day, I still have to switch between my file and the Tailwind docs fairly often to look up whatever shortcut classes I need.

So far I just miss CSS modules. Having my .tsx and .scss files both visible in split screen wasn't so bad.

Re:Tailwind Is a Leaky Abstraction by metadaemon on Tuesday November 29, 2022 @09:13AM (#33787793)
You’ll start realizing the benefit more when you use it on multiple projects. Tailwind will be consistent across your projects where you can’t always say the same for custom CSS.
Re:Tailwind Is a Leaky Abstraction by arecurrence on Tuesday November 29, 2022 @10:57AM (#33789157)
Do you use VSCode? Add the tailwind autocomplete plugin. It's intellisence for your tailwind config. Huge productivity boon when learning tailwind.
Re:Tailwind Is a Leaky Abstraction by antihero on Wednesday November 30, 2022 @06:21AM (#33799284)
Highly recommend the VSCode plugin where you get autocomplete and also mouse-over popups that tell you what classes translate to.