The first project I worked on where I was able to isolate all my styles by component was eye opening. It becomes less like CSS and more like Androids XML styling.
The first project I worked on where I was able to isolate all my styles by component was eye opening. It becomes less like CSS and more like Androids XML styling.
Can you expand? Which libraries, I know BEM hopes to isolate CSS styles to "components" by using strict CSS rules, but are you speaking of inline styles as they relate to JavaScript libraries like React?
Not all of them use inline styles and a lot are library agnostic. Here are just some of the ones I have played with, plenty more exist.
https://github.com/rofrischmann/fela
https://github.com/FormidableLabs/radium
https://github.com/Khan/aphrodite
https://github.com/threepointone/glamor
https://github.com/MicheleBertoli/css-in-js
https://github.com/styled-components/styled-components
https://github.com/css-modules/css-modules
https://github.com/cssinjs/jss