News for hackers. Stuff that matters.
Re:Twin – Tailwind with the flexibility of CSS-in-JS by deergomoo on Thursday December 03, 2020 @01:55PM (#25292903)
> the structure matches the markup

So you’re just writing your HTML twice, essentially. You can’t change your HTML without changing your CSS, so at that point, what’s the point in writing the CSS? May as well just add the styles right on the HTML.

They’re both fundamentally just part of how it looks, and I don’t see a lot of benefit in trying to keep that separate.

There are no comments on this comment yet.