#server component doesnt refetch on navigation
33 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
would you mind sharing a bit of code?
revalidation is required. i love next more and more by day
even then
i have a problem
when i do revalidatePath the whole page flashes
which i do not want
i need it to happen in the background
is there a way for this happen?
Because I do not need immediate revalidation, however it must be so that if a user navigates to Y page when they return to X the data for X is updated
I cant find any way to force this without revalidatePath...
bump
bump
lol yeah its annoying i have the same bug
export const dynamic = 'force-dynamic'
is that suppose dto fix it @idle adder
?
no sir
you must revalidate
as far as i know that is the only way
very annoying
what the fk
maybe theres some other way, i dont know
cause im having a case where i go to a different page
and then i go back to the old one
and the data there is empty cause its old
so now i just revalidatePath
but
that causes an issue where it seems to flash the page for some reason
bump