News for hackers. Stuff that matters.
Re:Tailwind Is a Leaky Abstraction by atsjie on Tuesday November 29, 2022 @12:41PM (#33790649)
Separation of concerns went out of the window a long time ago when frameworks (i.e. React) showed that it's better to combine business logic + markup into a neat encapsulated package.

Having a neatly encapsulated component that does everything is fine in most setups. Your main challenge will be not growing these components too big.

(( I really dislike Tailwind btw, mostly because I am just translating CSS into something else all the time which feels like a waste of mental effort; and the long lines of cryptic classnames is just bizarre to gain such a big popularity. I loathe it, it's a maintenance hell. I imagine all frontend devs liking this grew up using Bootstrap or something and mostly do small projects ))

Re:Tailwind Is a Leaky Abstraction by Lapsa on Tuesday November 29, 2022 @10:06PM (#33796524)
that's the power of functional cohesion