Developers use React to create modular user interfaces and encourage the development of reusable UI components that can display dynamic data.
The concept of virtual DOM simply represents the DOM virtually. Whenever our application’s state changes, the virtual DOM updates, rather than the real DOM.
The virtual DOM takes the form of objects and is a considerably lighter replica of the actual DOM.
To grasp the concept of the virtual DOM, one should possess a basic understanding of the DOM (Document Object Model).
One reply on “Virtual Dom in React JS”
its great tutorial