Next.js Discord

Discord Forum

Pagination and revalidatePath not working.

Unanswered
Savannah posted this in #help-forum
Open in Discord
Avatar
SavannahOP
I have pagination on a server page but clicking between page 1, 2, etc... with Link tag does not update the data on the screen (fetched from Supabase). Similarly, calling a function via onSubmit and Router.push does not refresh the new pushed page. I am already using invalidate=0 and it only works on manual refresh...

2 Replies

Avatar
SavannahOP
What I am doing wrong?
Avatar
Oak apple gall wasp
any update on this?