Closed e-azocar closed 2 years ago
✔️ Deploy Preview for azordev-dasher-user ready!
🔨 Explore the source changes: 79702a6c78a7e9fbf4e844ef96afe49375216752
🔍 Inspect the deploy log: https://app.netlify.com/sites/azordev-dasher-user/deploys/61f00f30b8e7e200086c28f6
😎 Browse the preview: https://deploy-preview-202--azordev-dasher-user.netlify.app
can you explain which error does this catch?
Maybe make a list or describe step by step
can you explain which error does this catch?
Maybe make a list or describe step by step
I added a short list of errors that ErrorBoundary
can catch
Description
The initial problem with the Error Boundary was that, it didn't catch the errors. In the React documentation, they explain the errors that this component can't catch
Currently the
ErrorBoundary
can catch errors likethrow new Error("error message")
,[].toUpperCase()
,undefined.data
. However, the errors of compilation, errors of asyncronous code or Javascript syntax errors, can't be catched for this.fixes #104
Screenshots