Put in order · JavaScript and React course · Module 9: Modern React Hooks

Lazy Loading Implementation with Suspense

Arrange the lazy loading implementation in order:

Items to put in order

  • const LazyComponent = React.lazy(() =>
  • );
  • </Suspense>
  • import('./HeavyComponent')
  • <Suspense fallback={<Loading />}>
  • <LazyComponent />

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