Member-only story

The best “styling in React” tutorial you’ve ever seen

Neo
7 min readDec 5, 2017

--

Alright, look. There’s no way for me to know how many “styling in React” tutorials you’ve seen, although I suspect not very many. If you haven’t seen any “styling in React” tutorials at all, you might be wondering “is this really the best one out there?”

Great question. Yes.

Is my editor taking liberties with this introduction? Also yes.

You’re here to learn about styling React components, and, when you’re finished reading this post, you’ll know how to do just that.

What to expect

In this article, we are going to see various ways we can style React components. The methods of styling we will explore are:

  • Inline styling
  • Styled Components
  • CSS Modules

We will be using a component which is part of a todo application to explain each of these methods.

If you are new to React, you can check the official documentation to get started.

--

--

Neo
Neo

Written by Neo

Software Engineer and Technical Leader

Responses (12)

Write a response