Yeah, the bit about `useEffect` running after every render by default is exactly the footgun I see new devs trip over the most. We actually added a lint rule in our last project to warn if dependencies are missing, and it saved us from at least a few infinite loops.
Comments