What is the best way to learn React?

There is a simple three step process to learn react systematically and I can guarantee you that if you follow this process properly you will be better than the majority of react developers out there.

The three steps are:
  1. Learn the prerequisites (i.e. HTML, CSS and JavaScript)
  2. Read the entire official reactjs.org website (docs and tutorial)
  3. Create react applications

1. Learn the prerequisites (i.e. HTML, CSS and JavaScript)

One thing which most tutorials do not tell you is that if you want to become great in React, before learning react, you must learn its prerequisites, that is, HTML, CSS and JavaScript.

Because at the end of the day. React is just a JavaScript library to do user interfaces and if you don’t know JavaScript or if you don't know how to build user interface using simple HTML and CSS, you can never excel at React.

If you already know HTML CSS and JavaScript properly, that's great! Learning react is going to be much easier for you and you can jump to the next step.

And If you don't know the prerequisites, readbefore moving on to the next step.

2. Read everything on the official react website

React has one of the best documentation websites and if you read the entire docs on reactjs.org properly, you won’t have to look anywhere else.

You should read the reactjs website in the following order:If you don't get everything in the first read, it’s perfectly fine, read it again. With every reading, the concepts will become clearer and ultimately, you will have a very good understanding of React.

3. Create react applications

After your concepts are clear, practice will make you perfect. The best way to create react apps is using the create-react-app.

Which apps should you create?

Since you are learning React, you may already have an app in mind that you want to develop. But if not, create a blog app or your personal website. Both are good ways to learn and practice React.

And this, my friends, is the best way to learn React!

Help your friends learn What is the best way to learn react?. Go share!