Put in order · JavaScript and React course · Module 10: React Ecosystem and Future

Error Boundary Syntax with Fallback

Arrange the syntax for wrapping a component in Error Boundary with fallback:

Items to put in order

  • >
  • </ErrorBoundary>
  • fallback={<ErrorPage />}
  • <ErrorBoundary
  • <App />

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