useErrorBoundary is not being caught by ErrorBoundary
I've got a useGetCourse hook like so
And it's being used in PortfolioOne like this
PortfolioOne.tsx
Home.tsx
The problem is that the error thrown by useErrorBoundary seems to both be caught and not be caught? Like the UI of the FallbackComponent shows up, but also I get the dev error screen of unhandled network request. Why is this? And how can I make the errors always bubble up to the ErrorBoundary?

3 Replies
afraid-scarlet•3y ago
is this in dev or prod? could just be a dev overlay that shows up even if caught by boundaries
metropolitan-bronzeOP•3y ago
Its in dev
afraid-scarlet•3y ago
Then that is what the framework you're using is doing with thrown errors
Would behave the same with other errors