Skip to content

onError callback in global SWRConfig not being called #747

Answered by promer94
RaddishIoW asked this question in Q&A
Discussion options

You must be logged in to vote

In Suspense mode, if an error occurred, you need to use an error boundary to catch it.
you can check the doc and example.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RaddishIoW
Comment options

@3pleFly
Comment options

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