In this chapter, we have looked at a lot of interesting topics. We started by going through the problems of CSS at scale, specifically, the problems that they had at Facebook while dealing with CSS.
We learned how inline styles work in React and why it is good to co-locate the styles within components. We also looked at the limitations of inline styles.
Importing the CSS files into our components makes the dependencies clear, and scoping the class names locally avoids clashes. We have looked at how CSS Module's
composes is a great feature, and how we can use it in conjunction with Atomic CSS to create a framework for quick prototyping.
Finally, we had a quick look at Styled Components, which is a very promising library...