Back to articles
Next.js 15 Has a Free API — Everything New in the React Framework

Next.js 15 Has a Free API — Everything New in the React Framework

via Dev.to WebdevAlex Spinov

Next.js 15 is the most popular React framework — now with Turbopack stable, React 19 support, partial prerendering, and the new after() API. Here's everything you get for free. What's New in Next.js 15 Turbopack stable — 76% faster local dev, 96% faster HMR React 19 support — Server Components, Actions, use() hook Partial Prerendering (PPR) — static shell + dynamic content after() API — run code after response is sent Enhanced fetch caching — no more aggressive caching surprises next/form — client-side navigation for forms Server Components (Default in App Router) // app/users/page.tsx — this is a Server Component by default async function UsersPage () { // Direct database access — no API route needed! const users = await db . user . findMany ({ select : { id : true , name : true , email : true }, }); return ( < div > < h1 > Users ({ users . length }) < /h1 > < ul > { users . map (( user ) => ( < li key = { user . id } > { user . name } — { user . email } < /li > ))} < /ul > < /div > )

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles