revalidatePath - on /posts revalidates all /posts/[postId]
Unanswered
West African Crocodile posted this in #help-forum
West African CrocodileOP
I am on a /posts/[postId] page and update a post with a server action. At the end of the server action, I do
revalidatePath('/posts') . But the UI also shows the refreshed data for the current dynamic page without revalidating this one specifically. If I remove revalidatePath('/posts') from the server action, the current dyanmic page shows stale data. Question: does revalidatePath('/posts') bubble down to nested paths?