Wrapping `<FileRoutes />` in `ErrorBoundry`
Im trying to migrate from the pre 1.0 day, when
solid-start
cli was still a thing. Back then I was able to do smth like this in the root component:
Trying to accomplish the same thing, wanting to wrap the FileRoutes
in an ErrorBoundry
, by doing this in the app.tsx
:
But that results in a hydration error3 Replies
Put it in the root section
ah right! tho can I not combine an errorBoundry and Suspense? It seems like when I have both, the errorBoundry doesnt seemt to kick in
Hmm just noticed even when the ErrorBoundry is placed in the Router root, the hydration error still shows up in the browser terminal. It seems to be complaining about the 404 page, but im using the default one that comes with solidStart