Chapter 05
Mutations and revalidation
Server Actions as Next.js wires them into forms and pages, the revalidation APIs (revalidatePath, revalidateTag, updateTag, refresh), ISR with on-demand revalidation, and the authorization every action needs.- 010How does a Server Action update the page in a single round trip?Corehard
- 020What is the difference between
revalidatePath,revalidateTag,updateTagandrefresh?hard - 030How does ISR serve a stale page, and what does on-demand revalidation do across instances?hard
- 040Why must every Server Action check authorization itself?hard
- 050How do you show errors and pending state for a Server Action form without client JS?medium