One of the features of React is its use of a virtual DOM. The virtual DOM is why React can update the web page’s Document Object Model (DOM) so quickly. React takes two snapshots of the actual DOM. When a component is updated on the virtual DOM, it’s not yet updated on the DOM.

Related Articles