Software Unscripted cover image

React Hooks Design Review

Software Unscripted

00:00

The Importance of Reacting to Dependencies

The reconciliation engine does the deep equality like not deep equality but shallow equality exactly it yeah reference equality that's what I was looking for. If all of those things haven't changed then it won't rerun the effect so if you ever mutate any of those you're out of luck and they don't allow you to mutate them in place basically. There's a linter plugin that will scream at you if you forget to put one of your dependencies in that array people have proposed lots of different APIs so that you don't have to do that, he says.

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