What is the differnece between Virtual DOM and Real DOM?
|Real DOM||Virtual DOM|
|The update process is very slow in this.||The update process is much faster here.|
|It can directly update the HTML.||It can't directly update the HTML.|
|It creates a new DOM if the element is updated.||It updates the JSX if there is any update on an element.|
|DOM manipulation related to a Real DOM is very complicated.||DOM Manipulation related to a Virtual DOM is effortless.|
|There is a lot of memory wastage in a Real DOM.||There are no cases of memory wastage in a Virtual DOM.|
Suggest An Answer
No suggestions Available!