Does Remix ignores ErrorBoundary wrappers? #9153
Unanswered
spacepolice10
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I am running into the exact same issue. Have you found a way to make this work? |
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 there,
Let's say I have a large array of
picture
component. It is wrapped withErrorBoundary
. Inside there's another component, let's say — Like button. This button internally usesuseFetcher
-hook to make a request to API-route (which makes request to the server, etc.). Iffetcher.submit
is failed, Remix jumps right to the nearestErrorBoundary
exported from route. But I would like to incapsulate error inside the component, show specificErrorBoundary
and not to break the whole list of data that is presented to the user. Is it expected behavior?Beta Was this translation helpful? Give feedback.
All reactions