Virtual DOMinos: Fast Delivery Guarantee
As I mentioned, I’ve been working in React/Redux lately, and I am continually thrilled by how fast everything renders. This is because of its use of a Virtual DOM, which is super neat.
So what makes the Virtual DOM different? The virtual DOM is basically a local and simplified clone of all the information in the full DOM. However, when you change something about a Virtual DOM element, it will not immediately change what’s on the web page. Instead, React compares the updated virtual DOM to a snapshot of the virtual DOM just before you made those changes (which is called ‘diffing’). React then intelligently updates the only the objects in the Actual DOM that were noted as changed during the diff.