React Virtual DOM

React Virtual DOM


Virtual dom is a carbon copy of Real Dom which is introduced by React.js to optimize the performance of a web Application.

With the process of “reconciliation”, React kept a virtual representation of the UI in memory and when something changed in UI React compares the change with the virtual representation and commits only the changes in Real DOM.

When anything is updated before updating React takes a copy of the DOM and after updating React compares the pre-update DOM with the post-update and finds out the main changes and only the changes are updated on the screen. This process is called ‘diffing’.

To view or add a comment, sign in

More articles by Md Neamul Haque

  • What is Object Oriented Programming(OOP)

    Object-oriented programming(OOP) is a computer programming model that organizes software design around data or objects,…

  • Something about React

    React.js is a component-based, declarative Javascript library for building interactive UI.

    6 Comments

Explore content categories