Nested ErrorBoundary not used
Heya, I'm trying to wrap my head around handling errors with createResource and SolidJS router...
The issue iss that I have two ErrorBoundaries and only the higher one catch the error instead of the one close to the function emitting the error.
So I have the following configuration:
App (Containing the Higher ErrorBoundary)
MainLayout (containing the nested ErrorBoundary)
useFindAllProject (The source of the error for example a 404 not found Error)
10 Replies
I also tried to move the nested ErrorBoundary in the return of
App
but it didn't change anything:
OR
tried with config based routing with no luck either and suspense isn't showing "loading" on resource fetch...
can you reproduce in the playground? https://playground.solidjs.com
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Heèy I tried setting up the editor but dunno why I can't manage to make packages works
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Maybe the router doesn't work in the playground. Do you have a repo?
I can make one
GitHub
GitHub - d0z4rt/solidjs-debug
Contribute to d0z4rt/solidjs-debug development by creating an account on GitHub.
cloning the repo, wanna call and walk me through the issue?
mmhm why not, I got a shitty mic since I'm not at home but we could try
lets take this to dm then