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

ErrorBoundary with FallbackComponent Syntax

Arrange the correct syntax for using ErrorBoundary with FallbackComponent:

Items to put in order

  • >
  • </ErrorBoundary>
  • <App />
  • <ErrorBoundary
  • FallbackComponent={MyFallback}

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