How do you find the source of an infinite re-render?

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...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • react@programming.dev
  • tacticalgear
  • thenastyranch
  • ethstaker
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • GTA5RPClips
  • kavyap
  • JUstTest
  • tester
  • cubers
  • cisconetworking
  • ngwrru68w68
  • khanakhh
  • normalnudes
  • provamag3
  • Leos
  • modclub
  • osvaldo12
  • megavids
  • anitta
  • lostlight
  • All magazines