News for hackers. Stuff that matters.
Re:Tailwind Is a Leaky Abstraction by diob on Tuesday November 29, 2022 @01:02PM (#33790928)
Yeah, and it's much better than trying to figure out what random class names some dev made up are doing.
Re:Tailwind Is a Leaky Abstraction by nailer on Tuesday November 29, 2022 @04:38PM (#33793694)
I agree that ‘div soup’ is a problem - I’ve seen a lot of react code by new developers that resembles GWT generated DOMs. But ‘div soup’ has other problems too - way over complicated doms are hard to edit and debug - and the problem is better solved by learning CSS basics to avoid all the wrapper divs you see in React apps made by junior front end developers.