AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Virtual DOM Diffing Algorithm
The virtual DOM is kind of a misnomer. Sometimes it's mistaken for being a reimplementation of the DOM and then something that we use to diff against. But the virtual DOM is really about having a data structure to describe your output. And this data structure is more coming from the functional world where you describe things as an immutable value type or immutable tree of properties and so on. This is also slightly different from what other templating frameworks were doing at the time. They were focusing a lot on the traditional service side models.