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
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
It Would be basically the same as generateStaticParams but using queryParams
2 Replies
@Crème D’Argent 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
not possible.
but you can use unstable_cache to manually cache specific combinations so they only run once.
but you can use unstable_cache to manually cache specific combinations so they only run once.
i wonder if you can do the proposed "hack" of dynamic params but then use rewrites to make it query search params :)