1.

What is the difference between real Dom and virtual Dom?

Answer»
Real DOMVIRTUAL DOM
DOM is a language-neutral interface allowing programs and scripts to dynamically access and UPDATE multiple objects like content, structure, and style of a DOCUMENT.Is a collection of modules designed to provide a declarative way to represent the DOM for an application.
The DOM represents the document as nodes and objects.A virtual DOM object is a representation of a DOM object, like a lightweight copy.
It is an object-oriented representation of a web page, modified with a scripting language like JavaScript.Virtual DOM is IDEAL for mobile-first applications.


Discussion

No Comment Found