I have some questions about generateStaticParams funcion in next js.
- It should return only ids object, or full paths?
- If only ids, how the function knows what page is this for? Maybe because we define that function inside the page.js file that uses it. But if so, why this function needs exporting?
I try to undestand this function deeply
New contributor
Lasha Zumbadze is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.