Throwing Route Error from the client #8124
Unanswered
piotrkulpinski
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you throw any error it should render the ErrorBoundary. If it doesn't work from within the effect or event handler try to do it from the component itself. |
Beta Was this translation helpful? Give feedback.
1 reply
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,
I'm having a case where I'm loading some data on the client with fetch, and want to show a 404 page in the context of layout, but I need to throw it directly from the client.
Is that possible in Remix?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions