Why developers using React
- What are popular frontend frameworks?
Currently, React, Angular and Vue are the three most popular frontend frameworks.
- What is React?
- Why using React?
Javascript only communicates with real DOM (Document Object Model). But updating real DOM is very slow if there are many DOM elements. Normally single application page is composed of thousands of DOM elements. As you can see from Chrome inspector screenshot below, very simple page contains many DOM elements (mostly <div>’s).

React uses virtual DOM to update real DOM in an efficient way. React compare the changes in the virtual DOM, and only updates the changed portions of real DOM which speeds up the rendering process. That is one of the main reasons why developers prefer to use React.