Replies: 1 comment 3 replies
-
not only do you need to reset the I've adapted the codesandbox to be more like the example from the docs: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using react-router-dom and useQuery with both suspense and useErrorBoundary set to true. However, despite taking a reset from useQueryErrorResetBoundary and executing it, I am unable to recover from the error state.
We have a CodeSandbox. I think the following will rerun the query, but it actually throws an error.
In CodeSandbox without react-router-dom below, the query is rerun in 3 above.
Am I using useQuery incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions