react-grid-system icon indicating copy to clipboard operation
react-grid-system copied to clipboard

Use JSS instead of DOM inline styles

Open cutmasta-kun opened this issue 6 years ago • 1 comments

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.

cutmasta-kun avatar May 24 '19 08:05 cutmasta-kun

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.

chalbert avatar Jun 14 '19 17:06 chalbert