Hacker News new | ask | show | jobs
by stefanfisk 2787 days ago
after doing a project with tailwind I have completely abandoned the idea of BEM. while it was nice having clean classes, having the styles directly in the html is way easier to reason about.
2 comments

We're back to filling in style attributes on each tag, aren't we?
Not quite, because you can still define thematic defaults and change those globally to suit any changes to your style book.
I have the same experience. After working four years with BEM, we switched to atomic css. We only use BEM for big components. It has been a delight.