Defination of virtual DOM that I follow:
Its memory representation of real DOM.
Why virtual DOM is faster?
Ever heard of movie Inception . That movie is all about how we can spend decades in a dream that's relatively super small i.e. the brain works faster that reality. Likewise DOM is the reality and Virtual DOM as name suggests is memory.
You'll getit once you've seen the movie.
Defination of virtual DOM that I follow:
Its memory representation of real DOM.
Why virtual DOM is faster?
Ever heard of movie Inception . That movie is all about how we can spend decades in a dream that's relatively super small i.e. the brain works faster that reality. Likewise DOM is the reality and Virtual DOM as name suggests is memory.
You'll getit once you've seen the movie.
I'm unsure what this means but if that analogy helps you understand the Virtual DOM, the more power to you.
Just helps me visualise better but that's just me.