Describe the bug
I am getting the error "Maximum update depth exceeded"
Your minimal, reproducible example
https://stackblitz.com/~/github.com/yWilliamLima/test-error
Steps to reproduce
It usually occurs after a while of running whenever changing pages/routes
Expected behavior
Do not return this error
How often does this bug happen?
Sometimes
Screenshots or Videos


Platform
OS: Windows 11
Browser: Chrome
Node: 22.12.0
Tanstack Query adapter
None
TanStack Query version
5.66.5
TypeScript version
5.7.3
Additional context
The error in the console does not occur locally, only in stackblitz
Maybe because of this error in the stackblitz console it doesn't happen, because it gives a refresh
Because it is a minimal example, it takes a while to occur, but in my project it occurs frequently
Describe the bug
I am getting the error "Maximum update depth exceeded"
Your minimal, reproducible example
https://stackblitz.com/~/github.com/yWilliamLima/test-error
Steps to reproduce
It usually occurs after a while of running whenever changing pages/routes
Expected behavior
Do not return this error
How often does this bug happen?
Sometimes
Screenshots or Videos
Platform
OS: Windows 11
Browser: Chrome
Node: 22.12.0
Tanstack Query adapter
None
TanStack Query version
5.66.5
TypeScript version
5.7.3
Additional context
The error in the console does not occur locally, only in stackblitz
Maybe because of this error in the stackblitz console it doesn't happen, because it gives a refresh
Because it is a minimal example, it takes a while to occur, but in my project it occurs frequently