nextjs waits (suspense enabled) queryFn to return not rendering suspense fallback #3546
Replies: 3 comments 4 replies
-
I don't think suspense on the server is working in either nextjs or react-query. Is this a react 18 thing? Please be a bit more specific in which tech / version you are using, and potentially show the issue in a codesandbox reproduction. |
Beta Was this translation helpful? Give feedback.
-
@TkDodo I am sorry that I did not explain specifically before. I made codesandbox that can show what problem I am facing. Package versions
Descriptions
Am I understanding how react and react-query is working wrongly? Please share your thoughts on this issue. Thanks. |
Beta Was this translation helpful? Give feedback.
-
I am also facing the same issue.
I just want to know if this is expected behavior or not? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure that I should ask this question here or nextjs discussion. I am facing the issues like below
Is it working properly? I understood that reactQuery queryFn should be suspended on the server and nextjs should render suspense fallback and hydration should be done in the browser. Anyone who has solid understanding about this situation? Please help me to figure this situdation out well.
Beta Was this translation helpful? Give feedback.
All reactions