FrontendDeveloper.in

React Track Detail

In which scenarios do error boundaries not catch errors?

Below are the cases in which error boundaries don't work,

  1. Inside Event handlers
  2. Asynchronous code using setTimeout or requestAnimationFrame callbacks
  3. During Server side rendering
  4. When errors thrown in the error boundary code itself