In which scenarios error boundaries do not catch errors?

Below are the cases in which error boundaries doesn'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

Author of content
Edit this page

Made by Michael Sakhniuk

Twitter