DEV Community

Discussion on: Why is the Virtual DOM So Fast?

Collapse
 
valeriavg profile image
Valeria

Let's imagine you're a painter and the client asks you to fix just one thing, but you decide to redraw the whole painting instead and then praise Photoshop for allowing you to do it digitally and save you canvas and materials, that otherwise would be wasted.

VDOM is made to avoid full render on a partial change. It can never be faster than a manual update to each particular DOM object in question.