The Next.js starter kit is updated to Next.js 16.4 and React 19.3, bringing smaller production bundles, a leaner dev server, stable View Transitions and the new agent upgrade tooling.
Posted by
Eelco Wiersma
@eelcodotdev
The Next.js starter kit now runs on Next.js 16.4 and React 19.3. This update also covers everything that shipped in Next.js 16.3, so if you're coming from 16.2 there's a lot to pick up.
Most of the gains in this update come for free:
next dev sessions stay lean.next build,
so repeat builds on CI reuse unchanged artifacts.The starter kit already uses TypeScript 7, which next build now picks up for
much faster type checking.
React 19.3 makes View Transitions and Fragment Refs stable and adds the new
browser() API. You can use them in the starter kit today.
Next.js 16.3 and 16.4 add a few APIs that fit nicely into a multi-tenant SaaS app:
catchError from next/error creates custom error boundaries that don't
interfere with notFound() or redirect(), and can retry() failed Server
Components.next/root-params let any Server Component read root
level params without prop drilling.import.meta.glob is supported natively by Turbopack.Next.js 16.4 recommends Cache Components (cacheComponents and
partialPrefetching) for every app, and it becomes the default in Next.js 17.
The starter kit doesn't enable it yet. We're evaluating how it fits with the
workspace-scoped, tRPC-driven data fetching and will follow up in a later
release.
The new next upgrade --agent command gives coding agents version-specific
guidance, codemods and verification steps to upgrade your app from start to
finish. It's a good fit for projects based on the starter kit that have
drifted from main:
npx next@canary upgrade --agent=latestThe upgrade required no code changes in the starter kit. To upgrade your own project, bump the dependencies and reinstall:
pnpm add next@^16.4.6 react@^19.3.1 react-dom@^19.3.1 --filter web
pnpm add -D @next/eslint-plugin-next@^16.4.6 @next/bundle-analyzer@^16.4.6 @types/react@^19.3.0 @types/react-dom@^19.3.0 --filter webOr pull the latest changes from the main branch of the starter kit.