May 10, 2021
Learning React doesn’t have to be a chore.
Let’s break down the 10 steps that will make your time and effort becoming a React developer easier and more fun. All while delivering consistent, career-changing results along the way.
Let’s get started!
The most important factor in deciding how soon you will be able to learn React is time and how you use it.
You need to keep a regular schedule of coding throughout the week. Without this, it will be almost impossible to reach your goals in coding on time. The truth is most people will never excel at React because they cannot to dedicate enough time and focus to coding.
If you plan on coding every day from nine to five once you’re on the job you need to have a similar schedule for yourself while learning. Ideally, you should spend around four to five hours of focused coding every weekday.
Why exactly four to five hours? I’ll cover that in step 3.
What do I mean by focused coding? Focused coding is coding without distraction. In a separate quiet space, where you can sit upright at your computer, and focus entirely on the process of coding.
During this time, much of what you’re doing will not be 100% coding. As you code, you’ll be reading documentation, reading an article, taking notes, et cetera.
If you’re focused on your work, four to five hours should be all that you need. The idea of coding 12 hours a day is not realistic, especially if you are getting started. If you can spend more time and you do feel focused, go ahead. But it’s very hard to code and consume new information while you’re already tired.
There is a special technique that will help you make the most out of that four to five hours. It’s called the Pomodoro technique. It’s an approach that’s made for optimal productivity and it consists of working in 25 minute periods at a time.
You start your timer and after each period or pomodoro, you take a five minute break. During this break, get up from your chair. Have something to drink. Adjust your focus away from your computer or your phone. In short, take a real mental and physical break from what you’re doing.
Taking breaks with purpose and giving your brain and body a rest will help you make the most of your time. Instead of trying to work for hours on end. And after every fourth 25 minute period or pomodoro, you take a longer 15 minute break.
If you do 8-10 pomodoros of solid work, you will have a very productive day, guaranteed. I use this technique every day I code and it is the best technique to ensure consistent results day-in and day-out. Consistent results are the only thing that is going to make the difference between learning React in months versus a year or more.
There are many free pomodoro timers that you can find online. I’ll link to a couple of them below:
We’ve talked how to work and the amount of time to spend working, but how do you approach learning the skills needed to be a React developer?
Many developers would recommend diving right into whatever you can find. To look through various websites, articles, YouTube videos, and ebooks. In fact, there’s one best place to go to first of all to start working with and learning React. And that is reactjs.org.
Go through their documentation from front to back. It’s the best guide that you will find online and every working React developer relies upon it. It’s guaranteed to be up to date, will get you familiar with the concepts you need, and best of all, give you a lot of examples to work with. As you read through the site, take the code examples they provide and run them yourself.
How do you run the React code you find? Instead of trying to create a React application on your own computer, create a React app in the browser. To create a new react app in two seconds, go to react.new. It will create a brand new React app in your browser that you can start working with. Then start experimenting with examples from the React.js documentation. On your own, type in the code from the guides, run it and see what works and what doesn’t.
Instead of reading a book and being told what code does, run the code yourself. See what happens when you try different things. To test the boundaries of React and what it can do is the best thing possible to understand how it works.
Once you have gone through the documentation at reactjs.org, start building small things. Try to build a todo application from scratch. If not a todo application, a basic CRUD application, a note-taking application, etc. Make a complete app, that consists of simple, clearly divisible parts.
As you build your project, you’ll encounter the questions all React developers ask themselves throughout their app planning:
Be aware that it’s fine to search the web when you have a question or when you’re stuck in your coding. It’s what all React developers do by searching sites like StackOverflow or Github. Asking your own questions is essential.
Make sure to keep track the questions you ask. Whenever I have a problem with a React project that I need to solve, I write it down and search for the answer. When I find the solution to it, I make sure to record the answer and bookmark it in my browser for future reference.
To record your questions and the answers you find for them is essential. If you have a problem once, I can almost guarantee that you will run into the same problem sometime in the future. Recording your questions and answers will not only serve as a great resource, but also save you large amounts of time and frustration.
This approach we’ve been talking about is very different than reading a book or article.
Reading or consuming information alone is called passive learning and is much slower. Actively coding yourself is active learning.
Active learning is what will drive you to code more, ask questions, fail more often in the short term, but succeed and grow faster in the long term.
After building your todo app, ask yourself can I make a small version of Twitter? Can I build a small version of Facebook or some other social network? Can I build a small version of Instagram?
Try to build something more other apps that you use and are familiar with. You’ll be able to see that as time goes on, these applications all share similar features. Being able to see common features among apps and develop them yourself is what will take you from an average to an impressive, self-directed developer.
And finally, after building larger and larger applications, make sure to put all these projects on your resume. To do that, you’ll need to deploy them to the web first.
Deploying React apps is very simple. You need only learn how to use basic hosting services like Netlify or Heroku which are free and as simple as can be.
Include links to each project on your resume as well as a description of the app and the technologies you used to build it. Doing so will immediately show the value that you can bring to potential employers.
If you’re interested in becoming an independent app developer, try turning one of these projects into an actual business. You’d be surprised how many people are able to do that. They learn React, start building projects, and turn one of them into an app or service which they sell for a profit.
I’ll be the first to admit it: learning React can be very frustrating. Even once you become a professional developer, it will still be very frustrating at times.
There will be problems you come across as you become a skilled React developer, but none that can’t be overcome.
My final advice to you is to become involved with fun, engaging React projects that you want to build or be a part of. You will not only learn more easily, but discover what you like most about being a React developer. All of which will give you confidence and help take you where you want to be in your career.