3 ms·
You can indeed do that with Next.js. In the app router, it’s called generateStaticParams. In the pages router, it’s getStaticProps.
by steve_taylor 1y ago
You can indeed do that with Next.js. In the app router, it’s called generateStaticParams. In the pages router, it’s getStaticProps.
- pheew 1y agoThis isn't the same as getStaticProps is evaluated at build time not runtime