Re:Material-ui 0.8 removes all CSS and switches to full js i...
by fishfacemcgee on Monday May 25, 2015 @09:10AM
(#9599892)
Looking through the slides referenced, this only seems possible/reasonable due to the styles being applied using React's DOM manipulation engine.
Perhaps that's assumable, but recommending this path seems pretty dangerous without significant caveats on its DOM-diffing requirement. Otherwise, just the raw amount of DOM injection is a severe performance risk.
Re:Material-ui 0.8 removes all CSS and switches to full js i...
by spleeder on Monday May 25, 2015 @03:22PM
(#9601310)
I have been using inline styles in React with great results too. I am glad to see more and more adoption. It leads to better portability and greater flexibility.
This is afaik the first public library following that path.
Perhaps that's assumable, but recommending this path seems pretty dangerous without significant caveats on its DOM-diffing requirement. Otherwise, just the raw amount of DOM injection is a severe performance risk.