Let&#x27;s be clear, manually updating the DOM is as optimized as you can possibly be. Virtual-DOM isn&#x27;t somehow magically more efficient than direct, imperative manipulation of the DOM. Virtual-DOM diffing was created to try to emulate the effect of refreshing the entire page every time state changes like we did with stateless web applications but do it in a relatively performant way.