Next.js Discord

Discord Forum

I'm having an issue where calling `router.push(...)` consistently causes infinite loop

Unanswered
Egyptian Mau posted this in #help-forum
Open in Discord
Avatar
Egyptian MauOP
I'm not sure where to start debugging this since the page is refreshing and causing the React dev tools to start over?

1 Reply

Avatar
Egyptian MauOP
I have a set of tabs that need to change a query param on click, any time I call router.anything I get a constant loop of page loads.