I'm trying to convert index page.tsx into ISR page that supports query params
Unanswered
AM posted this in #help-forum
AMOP
I'm trying to convert index page.tsx into ISR page that supports query params known in advance and i'm trying with:
but i don't think that works for
https://pastebin.com/0JnSABR4
Any idea how to execute this on
export async function generateStaticParams() {
const tags = await getTags();
return tags.map((tag) => ({
filter: tag.value,
}));
}but i don't think that works for
searchParams here is my whole server component:https://pastebin.com/0JnSABR4
Any idea how to execute this on
index page.tsx that in /app folder and supporting those search params?