The React Show cover image

A New React Compiler!

The React Show

00:00

React - The Herustic Algorithm

The way react works is it renders your code, which generates a tree of components and component references. The algarism to compare two trees to see if they've changed would be extraordinarily expensive and slow. This is what enables react to be reactive. But the way the herustic alegarithm works is not very smart. It's like, ys, something changed, when in reality, nothing changed.

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