You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
When a page contains a useSuspenseQuery and that query fails, the nearest error.tsx is rendered. However, when another useSuspenseQuery is in the same page that does succeed, the error page is no longer rendered and the suspense fallback is rendered indefinitely.
How to reproduce
I have set up a CodeSandbox to demonstrate this specific issue.
Open the root page.
Click on Apollo with working query + broken query.
The error page will render.
Do a hard reload of the page.
Notice the error page doesn't render and the suspense fallback is rendered indefinitely.
Problem
When a page contains a
useSuspenseQuery
and that query fails, the nearesterror.tsx
is rendered. However, when anotheruseSuspenseQuery
is in the same page that does succeed, the error page is no longer rendered and the suspense fallback is rendered indefinitely.How to reproduce
I have set up a CodeSandbox to demonstrate this specific issue.
Video of issue occurring in CodeSandbox
error.page.mp4
CodeSandbox
https://codesandbox.io/p/sandbox/confident-glade-rg9fzx
The text was updated successfully, but these errors were encountered: