Re:Write code that is easy to delete, not easy to extend
by cjcenizal on Sunday February 14, 2016 @02:38PM
(#11099631)
To solve this issue I keep component-specific .scss files alongside each component's JS file, in a component-specific folder. A root index.scss file imports all of the components' .scss files.
Coupled with BEM, this also helps prevent component style interdependencies.
Coupled with BEM, this also helps prevent component style interdependencies.