Next.js Discord

Discord Forum

In Next 14 with App folder is possible to generate statics pages based on queryParams?

Unanswered
Crème D’Argent posted this in #help-forum
Open in Discord
Crème D’ArgentOP
I have a page, that I want to pass different filters by query params, would be possible at build time to generate all the possible combinations?
It Would be basically the same as generateStaticParams but using queryParams

2 Replies

i wonder if you can do the proposed "hack" of dynamic params but then use rewrites to make it query search params :)