Next.js

Getting Started with Next.js 15

5 min read
Oct 15, 2024
Getting Started with Next.js 15
Next.js
React
App Router
TypeScript

Next.js 15 refines the App Router experience with better data fetching ergonomics and improved caching defaults. Start by scaffolding a project with create-next-app and opting into the App Router directory structure.

Co-locate server actions and route handlers to keep API code close to UI. Use the new fetch cache options (`force-cache`, `no-store`, or `revalidate`) to balance freshness and performance.

For styling, Tailwind remains a fast path to consistent UI. Combine it with Radix primitives and shadcn/ui to keep accessibility concerns handled from day one.