sealninja / react-grid-system

A powerful Bootstrap-like responsive grid system for React.
https://sealninja.github.io/react-grid-system/
MIT License
811 stars 83 forks source link

Use JSS instead of DOM inline styles #100

Open cutmasta-kun opened 5 years ago

cutmasta-kun commented 5 years ago

Because react-grid-system adds the styles inline in die divs, the dom gets really ugly when you view it with devtools. I don't know, if it counts as an issue or rather a featurerequest. But I wish there was a way to disable the cluttering of the dom.

chalbert commented 5 years ago

I've created #107 that may solve your issue. Instead of coupling this library with a specific style library, it adds a way to decorate the components. I haven't tried, but this technique should work with jss as well.