What Is React? A Summary for Beginners
3 min read
If you're starting as a developer, one word you'll come across often is "React". You'll see it as part of most developer roadmaps, on job listings, Twitter threads, tech videos on YouTube, blog posts, etc. React is almost everywhere.
In the Stack Overflow Developer Survey 2021, over 40% of respondents voted React as the most commonly used web dev framework/library.
In this article, we will take a look at what React is and why it is so popular among developers. We will keep it as beginner-friendly as possible.
What is React?
Think of it this way... Let's say you want to build a cement block house. You'll need cement blocks to build your house. To get the blocks you'll use in constructing this house, there are at least two options available to you.
Option 1 will be to cast the blocks yourself. To do so, you'll need to get cement, gravels, sand, water, etc. You'll then mix them in the right proportion. And finally, you'll cast the blocks from the mixture you've made using some machine designed for that process. Option 2 is to get precast blocks that someone else has already made and use them for building your house.
First, get a good grasp of the fundamental concepts like variables, data types, operators, loops, functions, etc
High-Order Array Methods
Familiarity with the ES6 syntax will also be helpful. Topics like destructing assignment, spread operator, modules, import and export keywords will give you a smooth transition to React.
Having a good grasp on these topics would make your transition into React less difficult and more enjoyable.
Thanks for reading!