Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

What is Virtual DOM?

React keeps a lighweight representaion of the Real DOM in the memory.

When you make some change, the virtual DOM only changes the specific 
object in the dom instead all of the objects.

Virtual Dom understands which area needs to send the update and 
avoids the other areas.
 
PREVIOUS NEXT
Tagged: #What #Virtual
ADD COMMENT
Topic
Name
7+5 =