Why developers using React

Yehong Piao
1 min readAug 14, 2020

--

  • What are popular frontend frameworks?

Currently, React, Angular and Vue are the three most popular frontend frameworks.

  • What is React?

React is a JavaScript library for building user interfaces. React (also known as React.js or ReactJS) is an open-source JavaScript library for building user interfaces or UI components. It is maintained by Facebook and a community of individual developers and companies. -Wikipedia

  • 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.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response