Treeview Navigation
expand all | collapse all
Classpert Rewards Program: Earn money for every course you enroll in. Check terms and conditions
Questions about React? Read the FAQ

React Courses

Frequently asked questions about React

What is React?

React is a Javascript library created by Facebook that is used to build web applications entirely in Javascript. HTML in React applications is also written in Javascript due to a special format called JSX or Javascript XML, which is still Javascript but looks like HTML.

Web applications in React are a collection of components, which are custom and reusable chunks of HTML. Components have two parts: how they appear on the screen (written in the JSX format) and its behavior which is written in vanilla Javascript.

The name React comes from the fact that components change state (how they look) in reaction to other components’ actions (for example, a click of a button activating a modal), much like spreadsheet cells react to each other. It’s distinct from other paradigms where components have to explicitly broadcast their state changes to the rest of the application.

What is React used for?

React is used to build so-called single-page web applications using Javascript.

React can also render on the server using Node.js and power mobile apps using React Native.

How long does it take to learn React?

React is basically Javascript under the hood so if you’re already familiar to the language it should not take you more than a day to learn the basics if you read Facebook’s own React tutorial. The core library on its own won’t probably be enough to create a fully functional application so consider that will take you longer (a couple of weeks, probably) to learn and get used to React’s ecosystem (state management, routing, application bundling, etc).

What are the prerequisites for learning React?

React is a JavaScript library so it’s assumed you have a basic understanding of the JavaScript language. It may take about 6 months to learn a language like Javascript if you’re a total beginner.

You also have to be familiar with the following: - HTML & CSS - the DOM - ES6 syntax and its features - Node.js and NPM