Hacker News new | ask | show | jobs
by prezjordan 4001 days ago
BEM is a clever naming strategy to deal with the problems of a medium-to-large CSS codebase. Why put up with it in the first place?
1 comments

Component-orientation and both exist to mend the problems of global CSS. If you use BEM in React you will usually have a one-to-one relationship between BEM component classes and React components. RaisedButton component has a .RaisedButton class, Icon has .Icon, etc.
We do this Imho this is just "better" management of the same problem