Virtual DOM:
Imagine a lightweight, in-memory copy of the actual DOM tree in your React application. This is the virtual DOM.
It's a JavaScript representation of the UI, reflecting the current state of your components.
React keeps this virtual DOM...