Next.js è un framework React full-stack. React di per sé è solo una libreria UI — renderizza componenti ma ti lascia a te routing, data fetching, server rendering e build tooling. Next.js fornisce tutto questo fin da subito, più un runtime server.
Cosa React da solo non include (e Next.js aggiunge)
text
React (library) → Next.js (framework) adds:
──────────────────────────────────────────────────
UI rendering only → File-based routing (folders = routes)
Client-side rendering → Server rendering (SSR), static generation (SSG), ISR
You wire data fetching → Built-in data fetching + caching
No backend → API routes / Route Handlers (full-stack)
Manual bundling → Zero-config build, code splitting, optimization
Manual <img> → next/image (auto-optimized images), next/font
