TLDR Web Dev · QUICK LINKS
THE UNSPOKEN RULES OF REACT HOOKS
Summary from the TLDR Web Dev newsletter
React hooks, especially useEffect, rely on the concept of object stability, which is not clearly documented, making it difficult to determine which return values of hooks are stable and which are not.