Skip to main content

Next.js App Router API Coverage Contract

This is the handbook's completeness contract against the current stable Next.js App Router documentation.

Final re-audit: July 29, 2026 โ€” Next.js 16.2.12 (latest, 16.x Active LTS).

At this snapshot, npm still reports 16.2.12 as latest, 15.5.22 as the backport line, and 16.3.0-preview.9 / 16.3.0-canary.97 as preview/canary rather than stable. Preview/canary behavior is never silently promoted into the production baseline.

Status legendโ€‹

StatusMeaning
โœ…Covered to handbook quality bar
โš ๏ธDeprecated / migration-only behavior
๐ŸงชExperimental, preview, canary, or stability-sensitive
โ›”Intentionally outside this handbook

Scope contractโ€‹

AreaStatusNotes
App Routerโœ…Primary and only router taught
Pages Routerโ›”Excluded except migration/history comparison in Phase 20
Next.js 16.2 stable behaviorโœ…Stable in-scope framework surface covered through Phases 00โ€“24
Next.js 16.3 preview/canary๐ŸงชTracked only as non-stable context
React 19.2 stable integrationโœ…Next-specific integration covered; React handbook owns general React depth
React Canary exposed by App Routerโœ…Covered only where stable Next.js documents a supported framework contract
React low-level RSC bundler/framework interfaces๐ŸงชVersion-sensitive framework integration, not application APIs
Managed-host/platform behaviorโœ…Covered when relevant and clearly separated from Next.js core

Curriculum progressโ€‹

PhaseStatus
00 ยท Start Hereโœ…
01 ยท Foundationsโœ…
02 ยท App Router & Layoutsโœ…
03 ยท Navigation & URL Stateโœ…
04 ยท Server & Client Componentsโœ…
05 ยท Data Fetchingโœ…
06 ยท Caching, Rendering & Revalidationโœ…
07 ยท Mutations, Forms & Server Functionsโœ…
08 ยท Route Handlersโœ…
09 ยท Request Pipeline & Proxyโœ…
10 ยท Rendering, Suspense & Streamingโœ…
11 ยท Metadata & SEOโœ…
12 ยท Images, Fonts & Scriptsโœ…
13 ยท Authentication, Authorization & Securityโœ…
14 ยท Errors, Observability & Debuggingโœ…
15 ยท Performanceโœ…
16 ยท Testingโœ…
17 ยท Deployment & Production Operationsโœ…
18 ยท Architecture & Large Applicationsโœ…
19 ยท Internals & Senior Mental Modelsโœ…
20 ยท Upgrades & Modern Migrationโœ…
21 ยท Projectsโœ…
22 ยท Interview Masteryโœ…
23 ยท Interview Question Bankโœ…
24 ยท Mock Interview Practiceโœ…

Routing & App Router conventionsโ€‹

AreaStatusLocation
app route tree, pages, layouts, templatesโœ…Phases 01โ€“02
route groups, private folders, multiple rootsโœ…Phase 02; architecture depth 18
dynamic/catch-all/optional catch-all segmentsโœ…Phase 02
async params / page searchParams modelโœ…Phases 02โ€“03; migration 20
generateStaticParams, dynamicParamsโœ…Phases 02 / 06 / 08
loading, error, global-error, not-found, defaultโœ…Phases 02 / 10 / 14
global-not-found๐ŸงชExperimental at final baseline
parallel and intercepting routesโœ…Phase 02; browser tests 16; internals 19
<Link>, prefetching, native History APIโœ…Phase 03; performance 15; internals 19
useRouter, usePathname, useSearchParams, useParamsโœ…Phase 03
selected layout segment hooks / useLinkStatusโœ…Phase 03
hard vs soft navigation / route reconciliationโœ…Phases 10 / 19

Server Components, RSC & renderingโ€‹

AreaStatusLocation
Server Components by defaultโœ…Phase 04
'use client' module boundaryโœ…Phase 04; performance 15; internals 19
composition, children, serializable propsโœ…Phase 04
providers/context placementโœ…Phase 04
server-only / client-onlyโœ…Phase 04; security 13
RSC payload, initial HTML, hydrationโœ…Phase 10; internals 19
Client Components prerender + hydrateโœ…Phases 10 / 19
Suspense / loading.tsx / progressive streamingโœ…Phase 10
Cache Components static shell + request-time holesโœ…Phases 06 / 10 / 19
private Flight wire encoding / request headersโ›”Explicitly excluded as application APIs
React RSC bundler interfaces๐ŸงชFramework-level/version-sensitive only

Data fetching & data architectureโ€‹

AreaStatusLocation
async Server Component readsโœ…Phase 05
server fetch current semanticsโœ…Phases 05โ€“06
direct DB/ORM/SDK readsโœ…Phase 05
avoid own Route Handler hop for RSC readsโœ…Phases 05 / 08 / 18
parallel/sequential work, waterfalls, N+1, batchingโœ…Phase 05; performance 15
preload / React cacheโœ…Phase 05; internals distinction 19
schema/status validation, timeout/retryโœ…Phase 05
secure DAL / DTO projectionโœ…Phase 13; architecture 18
tenant/resource-scoped access / IDOR preventionโœ…Phase 13; testing 16
query/command/provider-adapter architectureโœ…Phase 18

Caching & revalidationโ€‹

Area / APIStatusLocation
cache: 'no-store', cache: 'force-cache'โœ…Phase 06
next.revalidate, next.tagsโœ…Phase 06
Cache Components / 'use cache'โœ…Phase 06
cacheLife, cacheTagโœ…Phase 06
revalidateTag, updateTag, revalidatePath, refreshโœ…Phases 06โ€“07
connection()โœ…Phase 06; internals 19
'use cache: remote'โœ…Phase 06
'use cache: private'๐ŸงชSpecialized/stability-sensitive at final baseline
Client Router Cacheโœ…Phases 06 / 19
multi-instance cacheHandler / cacheHandlersโœ…Phase 17
cache identity, freshness, invalidation, tenant safetyโœ…Phases 06 / 13 / 18โ€“20
old standalone PPR/dynamicIO/useCache flagsโš ๏ธMigration-only; current Cache Components model taught

Mutations, forms & Server Functionsโ€‹

AreaStatusLocation
Server Function / Server Action terminologyโœ…Phase 07
'use server'โœ…Phase 07; internals 19
FormData / progressive enhancementโœ…Phase 07
useActionState, useFormStatus, useOptimisticโœ…Phase 07
validation, authentication, authorization, CSRFโœ…Phases 07 / 13
expected errors / optimistic rollback / concurrencyโœ…Phases 07 / 14
transactions, idempotency, outboxโœ…Phases 07 / 17 / 18
closure encryption / multi-instance key consistencyโœ…Phases 13 / 17 / 19
generated Action references / private transport๐ŸงชInternals only; not application contract
current client Action dispatch implementation๐ŸงชExplicitly not used as correctness guarantee

Route Handlers & HTTPโ€‹

AreaStatusLocation
methods / 405 / OPTIONSโœ…Phase 08
Web Request / Response / NextRequest / NextResponseโœ…Phase 08
content type, body parsing, one-read bodyโœ…Phase 08
files, downloads, streamingโœ…Phase 08
current GET/cache behaviorโœ…Phase 08; migration 20
CORS, CSRF, authโœ…Phases 08 / 13
webhooks, signatures, replay, callbacksโœ…Phases 08 / 13 / 16
rate limits / bounded resource workโœ…Phases 08 / 13 / 17
BFF/API vs in-process server call decisionโœ…Phases 08 / 18
old GET-cached-by-default assumptionsโš ๏ธHistorical migration context only

Proxy & request pipelineโ€‹

AreaStatusLocation
proxy.ts, execution order, matchersโœ…Phase 09; internals 19
has / missing / prefetch filtersโœ…Phase 09
NextResponse.next, headers, cookiesโœ…Phase 09
redirects, rewrites, localization, tenancyโœ…Phase 09
optimistic auth gating, not sole authorizationโœ…Phases 09 / 13
waitUntil lifecycle / non-durable distinctionโœ…Phases 09 / 17
current Node runtime behaviorโœ…Phase 19
Proxy experimental test helpers๐ŸงชPhase 16
middleware.ts โ†’ proxy.tsโš ๏ธDeep migration Phase 20
static-export Proxyโ›”Unsupported by static export

Metadata, images, fonts & scriptsโ€‹

AreaStatusLocation
static metadata / generateMetadataโœ…Phase 11
titles, metadataBase, canonicals, alternatesโœ…Phase 11
Open Graph/Twitter/generated imagesโœ…Phase 11
icons / manifest / robots / sitemapsโœ…Phase 11
JSON-LD and script-context XSS safetyโœ…Phase 11
viewport / generateViewportโœ…Phase 11
next/image responsive/security/cache modelโœ…Phase 12
image preloadโœ…Current Next.js 16 model
Image priorityโš ๏ธDeprecated in Next.js 16
remotePatterns, localPatterns, quality/security controlsโœ…Phase 12
old images.domains, legacy image APIsโš ๏ธMigration-only Phase 20
next/font Google/local/variables/fallbacksโœ…Phase 12
next/script strategies and lifecycleโœ…Phase 12
@next/third-parties๐ŸงชStill experimental at final re-audit

Authentication, authorization & securityโ€‹

AreaStatusLocation
auth vs session vs authorizationโœ…Phase 13
password / OAuth/OIDC / recovery / MFAโœ…Phase 13
stateless and database sessionsโœ…Phase 13
secure cookies, renewal, rotation, revocationโœ…Phase 13
RBAC/resource/relationship/tenant authorizationโœ…Phase 13
CSRF, XSS, CSP, secretsโœ…Phase 13
SSRF, uploads, active SVG, webhooks, abuse controlsโœ…Phase 13
API-key lifecycleโœ…Phase 13
threat modeling and audit eventsโœ…Phase 13
security regression matrixโœ…Phase 16
production secret injection / access / supply chainโœ…Phase 17
multi-tenant system architectureโœ…Phase 18
unauthorized, forbidden, authInterrupts๐ŸงชExperimental/non-baseline at final snapshot
React taint APIs๐ŸงชDefense-in-depth only

Errors, observability & debuggingโ€‹

AreaStatusLocation
expected vs uncaught vs framework control-flow failuresโœ…Phase 14
error.tsx, global-error.tsx, reset()โœ…Phase 14
production error sanitization / digestโœ…Phase 14
notFound, redirects, streamed status caveatsโœ…Phase 14
instrumentation.ts, register, onRequestErrorโœ…Phase 14
instrumentation-client.tsโœ…Phase 14
OpenTelemetry logs/traces/metrics/samplingโœ…Phase 14
source maps / CLI / inspector / incident workflowsโœ…Phase 14
SLI/SLO/error budgets/runbooksโœ…Phase 14
unstable error helpers๐ŸงชNever baseline

Performanceโ€‹

AreaStatusLocation
measurement-first optimizationโœ…Phase 15
Core Web Vitals LCP/INP/CLS / p75โœ…Phase 15
useReportWebVitalsโœ…Phases 14โ€“15
RSC/server dependency waterfalls and payloadsโœ…Phase 15
client JS boundaries / next/dynamic / demand importsโœ…Phase 15
stable React Compiler integrationโœ…Phase 15
hydration/main-thread/INP/DOM/memoryโœ…Phase 15
image/font/script/network critical pathโœ…Phase 15
DB pools, tail latency, cold starts, capacity, backpressureโœ…Phase 15; operations 17
profiling / release regression / budgetsโœ…Phases 15โ€“16
experimental Web Vitals attribution / Turbopack analysis / inline CSS / optimize imports๐ŸงชExplicitly labelled experimental

Testingโ€‹

AreaStatusLocation
risk-driven test portfolioโœ…Phase 16
Vitest / Jest / next/jest / React Testing Libraryโœ…Phase 16
async Server Component E2E strategyโœ…Phase 16
DAL/cache/revalidation testsโœ…Phase 16
Server Action / Route Handler contractsโœ…Phase 16
auth/tenant/security negativesโœ…Phase 16
Suspense/streaming/navigation/hydration browser testsโœ…Phase 16
Playwright / Cypress production-build E2Eโœ…Phase 16
accessibility / keyboard regressionโœ…Phase 16
fixtures/factories/time/randomness/test doublesโœ…Phase 16
flake control / sharding / CI artifactsโœ…Phase 16
performance/security release gatesโœ…Phase 16
next/experimental/testing/server / Proxy helpers๐ŸงชExperimental
@next/playwright๐ŸงชStill experimental and requires Cache Components at final re-audit

Deployment & production operationsโ€‹

AreaStatusLocation
next build / next start lifecycleโœ…Phase 17; internals 19
Turbopack default build/dev modelโœ…Phase 19
Output File Tracing / output: 'standalone'โœ…Phases 17 / 19
Docker / immutable artifacts / read-only filesystemโœ…Phase 17
self-hosting / reverse proxy / forwarding / streamingโœ…Phase 17
graceful SIGTERM/SIGINT shutdown / after() drainingโœ…Phase 17
build-time vs runtime env / NEXT_PUBLIC_โœ…Phase 17
distributed cache coordinationโœ…Phase 17
generateBuildId / deploymentIdโœ…Phase 17
Server Action multi-replica/version-skew operationsโœ…Phase 17
liveness/readiness/autoscaling/DB poolsโœ…Phase 17
queues/workers/DLQ/outbox/schedulesโœ…Phase 17
CI/CD, DB migrations, canary/blue-green, rollbackโœ…Phase 17
static export / unsupported runtime feature matrixโœ…Phase 17
Adapter API / stable top-level adapterPathโœ…Phase 17
custom server escape hatchโœ…Phase 19
private .next schema / next/dist couplingโ›”Explicitly excluded

Architecture & large applicationsโ€‹

AreaStatusLocation
capability / vertical-slice ownershipโœ…Phase 18
safe App Router colocationโœ…Phase 18
route composition roots / dependency directionโœ…Phase 18
DAL / DTO / command / policy boundariesโœ…Phase 18
monorepos / package exports / server-client entry pointsโœ…Phase 18
transpilePackages / serverExternalPackages contextโœ…Phases 15 / 18 / 19
design-system and shared package governanceโœ…Phase 18
multi-tenancy across routing/data/cache/jobs/storage/eventsโœ…Phase 18
BFF / APIs / provider adapters / service extractionโœ…Phase 18
feature flags vs entitlements vs permissionsโœ…Phase 18
events/jobs/workflows and compatibilityโœ…Phase 18
Multi-Zones path/assets/navigation/auth trade-offsโœ…Phase 18
ADRs / fitness functions / golden paths / ownership matricesโœ…Phase 18

Internals & senior mental modelsโ€‹

AreaStatusLocation
public contract vs private implementation evidenceโœ…Phase 19
RSC/Flight conceptual modelโœ…Phase 19
server/client graph partitioning and referencesโœ…Phase 19
Turbopack build pipeline / route compilationโœ…Phase 19
build manifests as private compiler metadataโœ…Phase 19
prerender/static shell/request-hole executionโœ…Phase 19
Router Cache / prefetch / route-tree reconciliationโœ…Phase 19
Server Function references/serialization/encryption/skewโœ…Phase 19
end-to-end request/stream lifecycleโœ…Phase 19
Node/Edge/process/package boundariesโœ…Phase 19
exact-version source inspection/evidence ladderโœ…Phase 19
private Flight parsing / private headers / manual Action transportโ›”Explicitly excluded

Upgrades & modern migrationโ€‹

AreaStatusLocation
support policy / release channels / upgrade riskโœ…Phase 20
next upgrade (16.1+)โœ…Phase 20
@next/codemod upgrade flowโœ…Phase 20
async request API migrationโœ…Phase 20
React 19/typegen/types migrationโœ…Phase 20
middleware.ts โ†’ proxy.tsโš ๏ธFully taught as migration path Phase 20
next lint removal / direct linter migrationโš ๏ธFully taught Phase 20
serverRuntimeConfig / publicRuntimeConfig removalโš ๏ธFully taught Phase 20
Webpack customizations โ†’ Turbopack/default build modelโœ…Phase 20
previous cache model โ†’ Cache Componentsโœ…Phase 20
old PPR/dynamicIO/useCache flagsโš ๏ธMigration-only; replacement taught Phase 20
old Image / metadata / next export APIsโš ๏ธCurrent replacements taught Phases 11โ€“12 / 17 / 20
SPA/client-heavy โ†’ server-first App Routerโœ…Phase 20
Pages Router coexistence/retirement strategyโœ…Migration context only; Pages curriculum remains out of scope
migration route matrix / canary / rollback / compatibility windowโœ…Phase 20

Projects & interview systemโ€‹

AreaStatusLocation
production project rubricโœ…Phase 21
public catalog/search/SEO/cache capstoneโœ…Phase 21
transactional commerce/booking capstoneโœ…Phase 21
multi-tenant SaaS capstoneโœ…Phase 21
production reference architecture capstoneโœ…Phase 21
interview strategy / fundamentals-to-senior masteryโœ…Phase 22
debugging/security/performance production scenariosโœ…Phase 22
Next.js system-design drillsโœ…Phase 22
staff architecture/leadership/behavioral masteryโœ…Phase 22
broad interview question bankโœ…Phase 23
coding/output/trick/system-design question practiceโœ…Phase 23
timed screen / senior / full-stack / staff mocksโœ…Phase 24
live coding/debugging/system design mockโœ…Phase 24
behavioral/production experience mockโœ…Phase 24

Final coverage conclusionโ€‹

All stable, in-scope Next.js 16.2.12 App Router topics identified in the handbook audit are covered to the handbook quality bar. Deprecated behavior is retained only where migration context requires it; experimental/preview/canary surfaces remain labelled; Pages Router and private framework internals remain intentionally excluded from normal application architecture.

See Final Completeness Audit for the final validation and publication gate.