b7d438cfc1
This makes sure that if `revalidateTag` is called in a Server Action, the client router cache and prefetch cache are invalidated correctly so following navigations won't reuse the cache that might hold stale data. Similar case for `revalidatePath`. I left a TODO where we can't just invalidate the subtree under the revalidate paths because of current implementation limitations. To ensure correctness, we just do the same as `revalidateTag`. |
||
---|---|---|
.. | ||
app | ||
app-action-export.test.ts | ||
app-action-invalid.test.ts | ||
app-action.test.ts | ||
next.config.js |