Concept Flow - GenerateStaticParams for static paths
Define generateStaticParams function
Fetch or define list of params
Return array of params objects
Next.js uses params to build static pages
Static pages generated at build time
Pages served fast without server calls
The generateStaticParams function provides Next.js with all the dynamic route parameters it needs to pre-build static pages at build time.