Writing React friendly CSS

The main goal of this blog entry 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 blog post 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.

Continue reading “Writing React friendly CSS”