Server-only ErrorBoundaries #6134
mihhail-lapushkin
started this conversation in
Proposals
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I call an API in loaders and actions, and pass an auth token to it.
Currently, there does not seem to be a way to define a common error handler to support these cases.
ErrorBoundary is the only common error handling mechanism, and it expects to render a UI, but I want to perform backend-y logic instead.
Beta Was this translation helpful? Give feedback.
All reactions