It seems like everybody and everything is looking for someone with React expertise. Given how popular React has become, a common question I get goes something like this:
My answer typically looks like this (and yes, it is actually longer):
In this article, I want to dive a bit deeper into the answer I provided and a bit of my thought process behind it.
To figure out where your current knowledge of HTML, CSS, and JS stands, take a look at the first couple of React tutorials and see if you are able to make progress and understand what is happening. If you are getting stuck a little too much, then I would encourage you to take a detour and learn the JS basics first. You will be glad you did.
If you are learning instead from a resource that doesn’t introduce all this complexity (like the React for Beginners tutorials found here) at the very beginning, you will have a much easier time ramping:
In an ideal world where you have no obligations and plenty of free time, going deep and broad on HTML, CSS, and JS first before learning React is the right thing to do. Too bad we don’t live in an ideal world. You may be asked to suddenly jump head first into an existing React code base to help. You may be applying for a job that needs React skills, and you want to learn as much as quickly as you can to pass the interview. Or you may just have heard a lot about React and you want to learn more about it. Whatever your reason, my goal and the goal of many others who spend time creating learning resources isn’t to discourage you from learning something new. You should just be aware of what issues you may encounter if you jump into React without first knowing some common HTML, CSS, and JS concepts.
Next tutorial: Introducing React