Question · Next.js course · Module 5: Rendering Strategies

generateStaticParams is used for:

generateStaticParams is used for:

Answer options

  • Generating static paths for dynamic routes at build time
  • Generating random parameters for tests
  • Creating URL query parameters
  • Validating route parameters at runtime

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