I get how virtual-dom batches DOM manipulations to enhance performance. However I have seen some posts saying virtual-dom is fast because it is in-memory representation
of actual DOM.
I have read this ANSWER. It says:
on the other hand real DOM has to be accessed from page and loaded to memory for any operation.
does this mean that browser's real DOM is not in memory? If browser's DOM is also in-memory
, what makes virtual dom's in-memory
special?