DEV Community

Cover image for Things you should master before you jump on React.js !!
Mayank Kumar
Mayank Kumar

Posted on

Things you should master before you jump on React.js !!

What is React.js ??

React.js is an open-source JavaScript library that is used for building user interfaces specifically for single-page applications. React allows developers to create large web applications that can change data, without reloading the page. The main purpose of React is to be fast, scalable, and simple.

Prerequisites

  1. Basic knowledge of HTML, CSS, and JavaScript, this is a must. Even if you have basic understanding about that its enough to get started in React.js

image

  1. Basic understanding of ES6/ES7 features of Javascript.

To get started you should at least know the following features:
a. Let
b. Const
c. Classes
d. Arrow functions
e. Imports and Exports

image

  1. Basic understanding of how to use npm/yarn.

image

These 3 things are the most important things you should know to get stared with React.js

If you have a good understanding about these things you are pretty good to get started in the React.js world,

I would like to give you one more tip that is that never doubt you self by looking at someone's success, believe in you self and learn and try to beat yourself everyday! with time you will get better in it.

Happy Coding πŸš€

Latest comments (8)

Collapse
 
jwhenry3 profile image
Justin Henry

I would say that you don’t need classes when working with React and you should probably read up on functional programming, since 99% of react is functional programming

Collapse
 
itays123 profile image
Itay Schechner

I'm afraid I disagree. I jumped on React.js with little Javascript and I learned it all as I learnt react.

Collapse
 
maciekgrzybek profile image
Maciek Grzybek

That's a very unpopular opinion these days but I totally agree. React is good to get hooked on Web development and it's fairly easy to start. Later on, you'll obviously have to learn more about JS and the ecosystem if you want to be a good engineer, but for start just go with React πŸ‘Œ

Collapse
 
mayank0508 profile image
Mayank Kumar

Exactly

Collapse
 
jonsilver profile image
Jon Silver • Edited

I'd go a lot further than a basic knowledge of Javascript. You need to intimately understand Javascript fundamentals like lexical scopes and closures, and referential equality vs value equality, so you can understand why function-based components and hooks work the way they do. Most Javascript developers have no idea about these concepts until they're forced to relearn by diving into React, which can be a much more painful introduction to the craft than learning Javascript properly beforehand.

Collapse
 
mayank0508 profile image
Mayank Kumar

got it that's why i used to always have a bit of confusion in the hooks, thanks for this recommendation, it will help many new react.js devs πŸš€β€

Collapse
 
jonsilver profile image
Jon Silver • Edited

It's such an important topic it deserves its own article or book. Many authors have covered these Javascript fundamentals already going back many years. But if you're already in React and wanting to learn more... there's a man far better qualified than me who could write a much better article on the subject, and in fact he already did... Thanks Dan Abramov! overreacted.io/a-complete-guide-to...

Collapse
 
myogeshchavan97 profile image
Yogesh Chavan

It's very true. These are the essential thing to know before learning React.js.

That's why I have written an article which explains all of these ES6+ features in detail.