How to Learn React.js, Part 1: The React Road Map for Modern Web Developers
How to Learn React.js, Part 1: The React Road Map for Modern Web Developers
An in-depth discussion of the wonderful React Road Map created by developer Adam Golab, and how you can become a true React.js dev.
Join the DZone community and get the full member experience.Join For Free
Backed by Facebook, React.js has grown by leaps and bounds in recent years and became the defacto library for component-based GUI development.
Though there are other front-end frameworks like Angular and Vue.js available, what sets React apart from others, it maybe the fact that it just focuses on component-based GUI development and doesn’t invade on other areas.
For example, Angular is a complete framework and gives you a lot of features out-of-the-box, such as a Dependency Injection, Routing system, Forms handling, HTTP requests, Animations, i18n support, and a strong module system with easy lazy-loading.
So, if you already have libraries to do that stuff or you might not need them altogether, than React is a great choice. But learning React is not so easy, especially if you are starting fresh in web development.
When I was doing some research about the right way to learn React, I come across this excellent React Developer Road Map which outlines what is mandatory, what is good to know, and some extra stuff you can learn as React developer.
This React Developer Road Map was built by Adam Golab and it outlines the paths that you can take and the libraries that you will want to learn to become a React developer.
So, if you are wondering what you should learn next as a React developer, then this roadmap can help you.
Similar to the DevOps RoadMap, this React.js roadmap is great for exploring React and you can use this to become a better React developer.
But, if you are wondering where to learn those mandatory skills, then don’t worry, I have also shared some online courses, both free and paid, which you can take to learn those skills.
The 2019 React Developer Roadmap
Anyway, here is the React Developer RoadMap I am talking about, which is initially created for 2018 but still valid for 2019 as well:
Now, let’s go through the Roa dMap step-by-step and find out how you can learn the essential skills to become a React developer.
It is one of the first pillar sand the most important skill for web developers as it provides the structure for a web page.
If you want to learn HTML, you can check to Build Responsive Real World Websites with HTML5 and CSS3 course on Udemy.
If you don’t mind learning from free resources then you can also check out my list of free HTML courses.
It is the second pillar of web development and used to style web pages so that they look good. If you want to learn CSS then you can find a couple of free CSS courses on my list of free web development courses.
By the way, instead of learning these technologies individually, it’s better to join a complete web development course like The Web Developer Bootcamp by Colt Steele which will teach you all the essential skills you need to become a web developer.
2. General Development Skills
It doesn’t matter whether you are a front-end developer or a backend developer, or even a full-stack software engineer. You must know some general development skills to survive in the programming world, and here is a list of some of them.
2.1. Learn Git
You must absolutely know git. Try creating a few repositories on GitHub, share your code with other people, and learn how to download code from Github on your favorite IDE.
If you want to learn then Git Complete: The definitive, step-by-step guide to Git is a great course.
If you need more choices and don’t mind learning from free resources then you can also explore my list of free courses to learn Git.
2.2. Know HTTP(S) Protocol
If you want to become a web developer then it’s an absolute must to know HTTP and know it well.
2.3. Learn the Terminal
Though it’s not mandatory for a frontend developer to learn Linux or terminal, I strongly suggest you get familiar with terminal, configure your shell (bash, zsh, csh) etc. If you want to learn terminal and bash then I suggest you take a look at this Linux Command Line Basics course on Udemy.
If you need more choices, you can also explore my list of free Linux courses for developers.
2.4. Algorithms and Data Structure
Well, this is again one of the general programming skill which is not necessarily needed for becoming a React developer but absolutely needed to become a programmer in the first place.
To lear about data structure and algorithms you can either read a few books or join a good course like Algorithm and Data Structure part 1 and 2.
If you need more choices, you can also check my list of free Data Structure and Algorithms courses.
And, if you love books more than courses, here is a list of 10 algorithms books every developer should read.
2.5. Learn Design Patterns
Just like algorithms and data structures, it’s not imperative to learn design patterns to become a React developer but you will do a world of good for yourself by learning it.
Design patterns are tried and true solutions for solving common problems in software development.
Knowing them will help you to find a solution which can withstand the test of time. You can read a few books about design patterns to learn them or join a comprehensive course like Design Pattern libraries.
If you need more choices, you can also check my list of OOP and Design pattern courses to get more ideas.
3. Learn React.js
Now, this is the main deal. The best place to learn React is the official website but, as a beginner, it can be a little bit overwhelming.
That’s why I suggest you enroll in a couple of courses like Max’s React MasterClass or Stephen Grider’s React and Redux to learn to React well. Those two are my favorite React courses and also trusted by thousands of web developers.
If you are serious about your React skills I strongly suggest you look at these courses.
And, if you don’t mind learning from free resources, then you can also take a look at this list of free React.js courses.
4. Learn Build Tools
If you want to become a professional React developer then you should spend some time getting familiar with tools that you will be using as a web developer like build tools, unit testing tools, debugging tools, etc.
To start with, here are some of the build tools mentioned in this roadmap:
- Task Runners
- npm scripts
By the way, it’s not important to learn all these tools, just learning npm and Webpack should be enough for beginners. Once you have a better understanding of web development and the React ecosystem you can explore other tools.
If you want to learn Webpack then Webpack 2: The Complete Developer’s Guide is a great place to start.
If you are aiming to become a front-end developer then knowing a bit of styling will not hurt. The Road Map itself mentions a lot of stuff like CSS preprocessors, CSS frameworks, CSS architecture, and CSS in JS.
I suggest you to at least learn Bootstrap, the single most important CSS framework you will end up using every now and then. And, if you need a course, Bootstrap 4 From Scratch With 5 Projects is a handy course.
And, if you want to learn bootstrap, and you want to go one step ahead, you can also learn Materialize or Material UI.
6. State Management
This is another important area for a React developer to focus on. The roadmap mention the following concepts and frameworks to master:
- Component State/Context API
- Async actions (Side Effects)
- Redux Thunk
- Redux Better Promise
- Redux Saga
- Redux Observable
- Data persistence
- Redux Persist
- Redux Phoenix
- Redux Form
If this sounds like too much to you, I suggest you to just focus on Redux. It’s great and there is a great course from Stephen Grider to learn Redux framework well.
7. Type Checkers
But even if you don’t use those technologies, React has some built-in type checking abilities and learning them can help you to catch bugs early.
And, if you need more choices, and don’t mind learning from free resources then you can also check out my list of free TypeScript courses for web developers.
That's all for Part 1. Part 2 covers topics such as form helpers, routing, and API clients!
Published at DZone with permission of Javin Paul , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.