Manav Pandya
What is a virtual DOM in React

Angular uses real DOM while react uses virtual DOM so what is the virtual DOM in React

By Manav Pandya in React on Aug 14 2020
  • Mallikarjuna Vr
    Aug, 2020 16

    In short, a virtual DOM is the cloned version of HTML DOM. React uses this version for any UI render/rerenders and compares it with HTML DOM to update the nodes which are updated in Virtual DOM.

    • 2
  • Primal Lobo
    Jun, 2021 28

    Virtual DOM is virtual representation of real DOM. It was introduced to handle inefficient updating problem. Virual DOM identifies the latest changes done in the code and updates DOM operations to only that part of code.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS