S
SolidJS8mo ago
guido

How to catch all errors but keep rendered component?

In other words, how can I make the child of ErrorBoundary stay rendered and not switch to fallback? Or rather, how I can catch all errors in my solid app?
2 Replies
ryansolid
ryansolid8mo ago
If an ErrorBoundary is triggered it means part of the app couldn't be properly rendered. Keeping that part rendered would have indeterminate behavior. We offer ErrorBoundary as a way to define zones where this can be managed. But not being able to be rendered while containable is not recoverable state otherwise.
guido
guidoOP8mo ago
Thank you, makes sense.

Did you find this page helpful?