Put in order · JavaScript and React course · Module 16: Error Handling and Suspense

Complete Resilience Architecture

Order the resilience layers from outermost to innermost:

Items to put in order

  • Section-level Error Boundaries
  • try/catch in event handlers
  • Suspense with fallback UI
  • Global error handlers (window.onerror)
  • App-level Error Boundary

You can check the correct answer by solving this task in the CodeWorlds game.