Endless reloading when using useQuery in Next.js 14 #7552
Unanswered
baydisng13
asked this question in
Q&A
Replies: 2 comments 2 replies
-
please show a minimal reproduction with codesandbox or stackblitz. we have integration tests for next14 and 15 |
Beta Was this translation helpful? Give feedback.
0 replies
-
any updates? cz im facing the same issue |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After integrating
@tanstack/react-query
into a Next.js 14 application, whenever using theuseQuery
hook to fetch data, the page gets stuck in an endless reloading loop.Steps to Reproduce
@tanstack/react-query
.useQuery
hook to fetch data within a component.Expected Behavior
The page should render normally without entering into a reloading loop when using
useQuery
.Actual Behavior
The page gets stuck in an endless reloading loop when using
useQuery
.Reproducible Demo
Environment
@tanstack/react-query
Version: 5.28.9Beta Was this translation helpful? Give feedback.
All reactions