Using React Error Boundaries

  • use to handle errors in React components
    • in react call stack, render method, useEffect callback
    • not errors in event listeners
    • not errors in async callback like in promise handlers
  • have to use class-based components

To Review