Question · JavaScript and React course · Module 6: React Router

Suspense fallback

What is the role of the Suspense component with lazy loading?

Answer options

  • It buffers data from the server
  • It displays a fallback component while the lazy component is loading
  • It compresses the JavaScript bundle
  • It automatically splits code into smaller chunks

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