Hacker News new | ask | show | jobs
by steve_taylor 341 days ago
You can indeed do that with Next.js. In the app router, it’s called generateStaticParams. In the pages router, it’s getStaticProps.
1 comments

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