Next.js Adds Cache Components, Partial Prefetching, and TypeScript 7 Support
Developer advocate Aurora Scharff has published a series exploring how new Next.js features like Cache Components and Partial Prefetching can deliver fast, smooth experiences similar to single-page apps while retaining server rendering. Cache Components introduce a shift in Next.js caching behavior, making data dynamic by default and letting developers opt into caching using a 'use cache' directive with controls for cache lifetime and invalidation. Next.js 16.3 Preview also adds early TypeScript 7 support via an experimental option that calls the tsc command directly during builds, since TypeScript 7 currently lacks a JavaScript API. On the security front, Vercel is moving Next.js to a monthly scheduled release cycle for security fixes, aiming to give teams more predictable update windows as AI-assisted bug discovery accelerates. Vercel also hired Pete Hunt, an early React pioneer from Meta, to lead its Frameworks and Next.js efforts.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in