Skip to content
Discussion options

You must be logged in to vote

That’s where useErrorBoundary comes in. If you set it t to true, RQ will re-throw the error in the next render cycle so that the ErrorBoundary will catch it. See: https://tkdodo.eu/blog/react-query-error-handling

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AntoineDeloy
Comment options

You must be logged in to vote
4 replies
@TkDodo
Comment options

@AntoineDeloy
Comment options

@TkDodo
Comment options

@AntoineDeloy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants