O'Reilly logo

Your First Week With React by Camilo Reyes, Eric Greene, Pavels Jelisejevs, Mark Brown, Maria Antonietta Perna, Chris Laughlin, Michael Wanyoike

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5: Styling in React: From External CSS to Styled Components

by Chris Laughlin

While many aspects of building applications with React have been standardized to some degree, styling is one area where there are still a lot of competing options. Each has its pros and cons, and there's no clear best choice.

In this article, I'll provide a condensed overview of the progression in web application styling with regards to React components. I'll also give a brief introduction to styled-components.

Evolution of Styling in JavaScript

The initial release of CSS was in 1996, and not much has changed since. In its third major release, and with a fourth on the way, it has continued to grow by adding new features and has maintained its reputation as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required