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
- 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
- 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
- Basic understanding of how to use npm/yarn.
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 π
Top comments (8)
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.
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 πβ€
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...
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.
I'm afraid I disagree. I jumped on React.js with little Javascript and I learned it all as I learnt react.
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 π
Exactly
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