Re:ReactCSS – Bringing Classes to Inline Styles
by prezjordan on Friday July 03, 2015 @02:45PM
(#9827242)
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?
[ Parent
| on HN ]
Re:ReactCSS – Bringing Classes to Inline Styles
by clessg on Friday July 03, 2015 @03:06PM
(#9827369)
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.
Re:ReactCSS – Bringing Classes to Inline Styles
by andreasklinger on Saturday July 04, 2015 @02:56AM
(#9829491)
We do this
Imho this is just "better" management of the same problem