2min chapter

JavaScript Archives - Software Engineering Daily cover image

React.js with Sebastian Markbage and Christopher Chedeau

JavaScript Archives - Software Engineering Daily

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode