Chapter 7. Make Your Components Look Beautiful
Our journey into React best practices and design patterns has now reached the point where we want to make our components look beautiful. To do that, we will go through all the reasons why regular CSS may not be the best approach for styling components, and we will check out various alternative solutions.
Starting with inline styles, then Radium, CSS Modules, and Styled Components, this chapter will guide you into the magical world of CSS in JavaScript.
The topic is very hot and highly controversial, so this chapter requires an open mind in order to be understood and followed.
In this chapter, we will cover the following:
- Common problems with regular CSS at scale
- What it means to use inline styles in React ...
Get React Design Patterns and Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.