Put in order · JavaScript and React course · Module 10: React Ecosystem and Future
ErrorBoundary with Suspense Syntax
Arrange wrapping a component in ErrorBoundary + Suspense from left to right:
Items to put in order
- <Suspense
- fallback={<Skeleton />}>
- <DataComponent />
- </Suspense></ErrorBoundary>
- <ErrorBoundary fallback={<ErrorMessage />}>
You can check the correct answer by solving this task in the CodeWorlds game.