React question detail
In which scenarios do error boundaries not catch errors?
Below are the cases in which error boundaries don't work,
- Inside Event handlers
- Asynchronous code using setTimeout or requestAnimationFrame callbacks
- During Server side rendering
- When errors thrown in the error boundary code itself