Mục tiêu: Master Next.js App Router, hiểu Server vs Client Components, caching strategies, và data fetching patterns.
1. App Router Architecture
File-System Routing
app/
├── layout.tsx ← Root layout (shared UI)
├── page.tsx ← / (home page)
├── loading.tsx ← Loading UI (Suspense boundary)
├── error.tsx ← Error UI (Error Boundary)
├── not-found.tsx ← 404 page
├── products/
│ ├── layout.tsx ← Nested layout cho /products/*