App Router in one paragraph
In Next.js 15 the App Router (the app/ directory) is the path forward — the Pages Router (pages/) still works but stops getting new features. Routing is file-based: every folder under app/ becomes a URL segment, and special filenames inside each folder describe what to render. page.tsx is the page, layout.tsx wraps it, loading.tsx is the Suspense fallback, error.tsx is the boundary, not-found.tsx is the 404 for that segment.
Compared to the Pages Router, App Router is React Server Components by default, supports nested layouts, streams HTML, and gives you Server Actions. In 2026 if you're starting fresh, start with App Router.
