Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
steve_taylor
· 1y ago · 0 comments
You can indeed do that with Next.js. In the app router, it’s called generateStaticParams. In the pages router, it’s getStaticProps.
Comments
[–]
pheew
1y ago
This isn't the same as getStaticProps is evaluated at
build
time not runtime