News for hackers. Stuff that matters.
Re:Astro is a return to the fundamentals of the web by steve_taylor on Wednesday July 09, 2025 @06:29AM (#44508257)
You can indeed do that with Next.js. In the app router, it’s called generateStaticParams. In the pages router, it’s getStaticProps.
Re:Astro is a return to the fundamentals of the web by pheew on Wednesday July 09, 2025 @08:04AM (#44508968)
This isn't the same as getStaticProps is evaluated at build time not runtime