The usage of React components in apps has become more popular over the last two years and rightly so. React provides a very structured paradigm for building the ui over your app, managing state and handling events. Although opinionated React doesn't make any assumptions towards how you go about styling your components yet it opens up some interesting avenues of thinking about CSS.
This talk will explore the some of different ways you can handle style in React, touching upon some of the following points.
- The advantages of defining CSS as Javascript objects
- CSS Modules
- How do styled component libraries such as react-bootstrap and material-ui fit in to the mix?
- Using preprocessors such as Sass
- What to make of all this, which approach should you use when and why?