
React Hooks Design Review
Software Unscripted
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.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.