I have a custom hook that I’m working on to make a fetch request to an api, and it is causing infinite re-renders. I’m struggling a bit to understand how the various parts of my application fit together – in particular, my store (zustand) is using a middleware (immer) for immutable state, and I’m not certain why its drafting system isn’t protecting me from changes in object identity. What tools can I use to try to track down what I’ve gotten wrong? I can’t really leave the web page open very long because I’m making 1000s of requests per minute to the api I’m working against, so the Chrome dev tools are out, and the static analysis tools I set up (typescript and eslint) haven’t identified any errors, like missing a dependency from the useEffect hook dependency array.