English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

ReactJS Tutorial

React is a frontend library developed by Facebook. It is used to handle the view layer of web and mobile applications. ReactJS allows us to create reusable UI components. It is one of the most popular JavaScript libraries at present, with a strong foundation and a large community.

React is a JavaScript library for building user interfaces.

React is mainly used to build UI, and many people believe that React is the V (View) in MVC.

React originated from an internal project at Facebook, used to build the website for Instagram, and was first released in 2013 Year 5 Open Source Monthly.

React has high performance and simple code logic, and more and more people are beginning to pay attention to and use it.

Features of React

  • 1.Declarative Design − React uses a declarative paradigm, making it easy to describe applications.

  • 2.Efficient − React minimizes interactions with the DOM by simulating it.

  • 3.Flexible − React can work well with known libraries or frameworks.

  • 4.JSX − JSX is an extension of JavaScript syntax. While you do not have to use JSX in React development, we recommend using it.

  • 5.Components − Building components with React makes the code more reusable and suitable for large-scale project development.

  • 6.Unidirectional Data Flow − React implements a unidirectional data flow, which reduces duplicate code and is therefore simpler than traditional data binding.

Target Audience for This Tutorial

This tutorial is designed to help JavaScript developers who are new to ReactJS. We will try to introduce each concept through simple and easy-to-understand code examples. After completing all chapters, you will be confident in using ReactJS.

Knowledge you need to understand before reading this tutorial:

Before you start learning React, you need to have the following basic knowledge:

  • HTML5

  • CSS

  • JavaScript

First React Example

In each chapter, you can edit examples online and then click the button to view the results.

This tutorial uses React version 16.4.0, you can find it on the official website https://reactjs.org/ Download the latest version.