Skip to content

Error Boundaries #72

Answered by lazarv
mrose asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mrose!
I'm sorry. This was missing from the documentation, and while I was getting back to it, I noticed an issue with the error handling. But the fix is now released and available in the latest version.

You can now read more about error handling at https://react-server.dev/framework/error-handling. But to answer your question, yes, you should use the error boundary provided by the framework as while it is a client component, it adds client-side navigation-based error boundary reset to clear server-side errors on page refresh or navigation and wraps the error boundary into a <Suspense> which is needed to transfer server-side errors to the client.

You can still use any error boundary c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrose
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