Server Action Demo

Simple demo for understanding how Next13 deals with caching Server Components under app directly

  • redirect()
  • revalidatePath()
  • Default behaviour

Clone and run it locally. It uses an in-memory "server". Feel free to submit a PR to make it deployable :)


/account

Screenshot of the /account page


/account/edit

Screenshot of the /account/edit page


Was a question from this Reddit thread