upvote
Using a JavaScript framework kind of defeats the whole purpose doesn’t it?
reply
css modules with react are really nice to work with. Plain css scoped to a component. The two arnt always at odds
reply
Why do you think so?
reply
Sounds like a home made Tailwind of your own
reply
Well Tailwind CSS is a CSS framework, and I'm writing CSS.

What Tailwind does is go fully into inline styles though. But I don't think that's an efficient approach, you also break a few other Clean Code principles along the way.

I do have some classes I sometimes apply inline, which are defined in the util.css, but the majority of styling is not done this way.

reply