3 ms·
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?
by prezjordan 11y 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?
- clessg 11y agoComponent-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.
- andreasklinger 11y agoWe do this Imho this is just "better" management of the same problem