Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can indeed do that with Next.js. In the app router, it’s called generateStaticParams. In the pages router, it’s getStaticProps.


This isn't the same as getStaticProps is evaluated at build time not runtime




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: