JavaScript Archives - Software Engineering Daily cover image

React.js with Sebastian Markbage and Christopher Chedeau

JavaScript Archives - Software Engineering Daily

00:00

The Problem of Diffing Two Trees in React

There's already existing knowledge and computer science around how you can use immutable data structures to determine that something very deep within it is unchanged. So there's a lot of work from Rich Icky on enclosure. Another interesting data point is Git, the virtual control system, where basically you don't have to transfer objects that you are guaranteed to already have. But the principle with immutable data structures is that if you have something of ID, like a reference or hash, that tells you that something about the entire subtree of the structure,. You can compare just that ID to see to learn something about the whole tree.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app