Hasty Briefsbeta

Next.js 16

14 hours ago
  • #Web Development
  • #Next.js
  • #React
  • Next.js 16 is now available, featuring improvements to Turbopack, caching, and architecture.
  • New features include Cache Components with Partial Pre-Rendering (PPR), Next.js Devtools MCP, and proxy.ts replacing middleware.ts.
  • Turbopack is now stable, offering 2–5x faster builds and up to 10x faster Fast Refresh.
  • React Compiler support is stable, enabling automatic memoization.
  • Enhanced routing includes layout deduplication and incremental prefetching.
  • Improved caching APIs introduce revalidateTag() with cacheLife profiles and new updateTag() for Server Actions.
  • React 19.2 features like View Transitions and useEffectEvent are included.
  • Breaking changes include Node.js 20.9+ requirement, removal of AMP support, and sync params becoming async.
  • Deprecations include middleware.ts (renamed to proxy.ts) and next/legacy/image.
  • Performance improvements for next dev and next start, with native TypeScript support for next.config.ts.