Re:State of React and CSS
by Keats on Monday April 04, 2016 @06:41PM
(#11426331)
I agree, it also makes React component much more complex thant it should. I've seen open-source components with dozens of props for the css and where 80% of the javascript code was actually just styling.
I'm not sure what's the gain there versus something like Sass + BEM, except from making the javascript code way more unreadable.
Not to mention the mess in the html if it inlines the css.
Not to mention the mess in the html if it inlines the css.