Next.js 13 | generateStaticParams (dynamic static route) | App route.

preview_player
Показать описание
- You can use the dynamicParams segment config option to control what happens when a dynamic segment is visited that was not generated with generateStaticParams in NEXT.
- GenerateStaticParams should return an array of objects where each object represents the populated dynamic segments of a single route.
- Each property in the object is a dynamic segment to be filled in for the route.

Рекомендации по теме