Calling revalidateTag
/ revalidatePath
in a Server Action breaks the app router once a Parallel slot is rendered
#63900
Replies: 2 comments 20 replies
-
Hey @steve-marmalade ! Thanks for testing out the canaries. Will indeed be a bit tricky to troubleshoot without a reproduction. One thing I'm curious about though: if you swap out calling a server action + revalidate with instead calling |
Beta Was this translation helpful? Give feedback.
-
@ztanner , thanks for the quick response! Yes, the reproduction is the same for Quick clarification on
However, based on #63509, am I correct that only the first one is actually a current benefit? I.e. any revalidateTag will trigger a refetch for all fetch requests on the page, and so we'd need to use a traditional client state management library like |
Beta Was this translation helpful? Give feedback.
-
Summary
I could use help either:
@ztanner, this is somewhat of an FYI for you. You've been crushing the Github Issues regarding Parallel + Intercepting routes, and I've been trying to do my part in testing the latest canaries. In general the feature has been much more stable, but I have hit a road block in our closed-source repo that I've been struggling to build a reproduction for. Rather than wait until I can narrow it down, I figured I'd at least start a discussion in case you (or others) have suggestions.
Here's the sequence:
router.replace('/path/that/matches/slot', {scroll: false})
to add new content to an existing page as a user scrolls down).revalidateTag
orrevalidatePath
fetch-server-response.ts
events in the network tab with what looks like a valid RSC payload, but they aren't displayedAdditional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions