docs: add Interactive Apps guide#94020
Merged
Merged
Conversation
Contributor
Tests PassedCommit: 22918c5 |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new App Router guide for building interactive applications with coordinated pending states across Server Functions, transitions, optimistic UI, Suspense streaming, caching, and runtime prefetching.
Changes:
- Introduces an end-to-end Taskboard walkthrough with eight progressive interaction patterns.
- Covers client/server coordination patterns such as
useOptimistic,useTransition,useActionState,data-pending,use cache,cacheTag,updateTag, andunstable_prefetch. - Links to a companion demo and related Next.js documentation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
icyJoseph
reviewed
May 27, 2026
Yep, way better! Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
Contributor
Stats skippedCommit: 22918c5 |
icyJoseph
reviewed
May 28, 2026
icyJoseph
reviewed
May 28, 2026
aurorascharff
added a commit
to aurorascharff/nextjs-app-architecture-skill
that referenced
this pull request
Jun 4, 2026
The guide is not merged yet, so link to vercel/next.js#94020 instead of the nextjs.org URL which currently 404s.
…cel/next.js into aurorascharff/interactive-apps-guide
icyJoseph
reviewed
Jun 15, 2026
Member
|
Looks good to me, there's a few things I want to try out myself after reading the guide, often a good sign! I am ready to approve the guide, but in terms of discoverability, no other document points to this guide, https://nextjs.org/docs/app/getting-started/mutating-data should point as Next Steps, or in prose somewhere relevant |
icyJoseph
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Adds the Interactive Apps guide (
docs/01-app/02-guides/interactive-apps.mdx) with a companion Taskboard app.Why?
There is no end-to-end guide that shows how to coordinate pending work across Server Functions, transitions, optimistic UI, and caching in a single app.
How?
The guide walks through building a task management board in 8 steps, from a plain Server Component app to one with optimistic UI, streaming, caching, and prefetching:
useOptimistic+startTransitionfor a priority cycleuseTransition+data-pendingfor label chips, action props forChipGroupuseOptimistic([])for a pending-only comment listisPending, key-based reset, double-transition for dialog closeuseOptimistic(false)+data-pendingCSS attributeuse cache,cacheTag,updateTag,unstable_prefetchThe companion app lives at vercel-labs/async-react-demo. The
plainbranch is the starting point,mainhas all 8 steps applied.