WRITING REACT FRIENDLY CSS

The main goal of this article is to present how one could combine webpack/npm/BEM/Sass to write a modular, more complex, and React friendly CSS (Cascading Style Sheets).

The targeted group for the article are people working with web design and/or front-end development. I also start from the assumption that you are currently working with React, or are planning to do so, and would like to learn more about how to integrate CSS in your React-based project.

A secondary goal is to review the inheritance, cascading and scoping so-called “issues” of CSS. These are often brought up lately as hinders in a module-based environment, especially by the promoters of CSS in JS libraries, as styled-components.

Read more at https://techblog.confirmit.com/2017/06/19/writing-react-friendly-css/