next.js
90ad8f89 - docs: instant navigation quick start with an adoption prompt (#96663)

Commit
12 days ago
docs: instant navigation quick start with an adoption prompt (#96663) ### What? Adds a **Quick start** section to the top of the instant navigation guide. It names the two migrations Instant Navigation is built on, [Cache Components](https://nextjs.org/docs/app/guides/migrating-to-cache-components) and [Partial Prefetching](https://nextjs.org/docs/app/guides/adopting-partial-prefetching), links the adoption Skill for each, and gives a paste-ready prompt that runs both in order. Also rewords the intro to the existing **AI workflow** section, which describes optimizing a single navigation rather than adopting the features across an app. ### Why? The guide explains how instant navigation works, but it never said how to get it. Someone asked to "make navigations instant" landed here and worked through the concepts by hand instead of using the adoption Skills, and so did their coding agent. That has produced migrations that satisfy validation while leaving nothing in the static shell, for example wrapping a whole page in `<Suspense fallback={null}>`. Instant navigations are the result of using Cache Components and Partial Prefetching correctly, so the entry point belongs at the top of this guide, ahead of the concepts, with a line handing readers back to the rest of it. ### How? One paragraph with inline links, then the prompt. The prompt has the agent explain the change and ask how to split the work across PRs before it starts, install the two adoption Skills plus `next-dev-loop` to verify against a running dev server, adopt Cache Components before Partial Prefetching one feature at a time, and report each step as a table of routes and what changed. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Author
Parents
Loading