Skip to content

test(next): preview Next.js 16.3 instant navigations [DO NOT MERGE]#259

Draft
arzafran wants to merge 6 commits into
mainfrom
next/16.3-preview
Draft

test(next): preview Next.js 16.3 instant navigations [DO NOT MERGE]#259
arzafran wants to merge 6 commits into
mainfrom
next/16.3-preview

Conversation

@arzafran

Copy link
Copy Markdown
Member

⚠️ Preview only — do not merge

This PR exists to spin up a deploy preview so we can feel out Next.js 16.3's
Instant Navigations on a real deployment. It rides the @preview npm tag, which
is pre-production ("changes are likely before stable"), so it stays a draft until
16.3 ships stable.

What this does

Bumps the starter to Next.js 16.3.0-preview.5 and turns on the instant-navigation
config so the preview deploy exercises shell-based prefetching.

  • next + @next/bundle-analyzer16.3.0-preview.5 (exact-pinned). React unchanged.
  • partialPrefetching: true added (the 16.3 successor to the experimental
    prefetchInlining stepping stone, which is removed). cacheComponents was
    already on; experimental.cachedNavigations stays — still a valid flag in 16.3.
  • app/loading.tsx hardened from a placeholder word into an accessible skeleton
    shell, so navigations land on a real shell instead of "Cooking…".

What to look at on the preview

  • Click around between routes — navigations should feel SPA-instant (shell first,
    data streams in).
  • Network tab: prefetch is now one reusable shell per route, not one request
    per link.

Before this could ever merge

  • Next.js 16.3 reaches stable (drop the @preview pin → exact stable)
  • Re-validate bun run build on the stable release
  • Decide whether partialPrefetching becomes a starter default

Verified locally

  • bun run build ✓ (compiled, static pages generated)
  • bun run typecheck + bun run lint clean

@arzafran arzafran added the preview Testing/preview branch — generates a deploy preview, not for merge label Jun 26, 2026
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
satus Ready Ready Preview, Comment Jul 20, 2026 9:22pm

Throwaway, branch-only routes under app/instant-nav-demo/ (hub + fast/slow/[item])
to exercise 16.3 shell prefetching + partial streaming on the preview deploy.
Also enables experimental turbopackFileSystemCacheForBuild and
turbopackRustReactCompiler. Verified: build + typecheck + lint green on 16.3.0-preview.5.
# Conflicts:
#	CHANGELOG.md
#	bun.lock
#	package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Testing/preview branch — generates a deploy preview, not for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant