Next.js este un framework React full-stack. React în sine este doar o bibliotecă UI — redă componente, dar lasă routing, data fetching, server rendering și build tooling ție. Next.js oferă toate acestea din cutie, plus un server runtime.
Ce React singur omite (și Next.js adaugă)
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
