FrontendDeveloper.in

React question 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
Back to all React questions
Get LinkedIn Premium at Rs 399