▲
Next.js
The React framework for production. App Router, server components, and smart data fetching are the key interview areas.
Topics
App Router
File-system routing, layouts, loading states, error boundaries.
Server Components
RSC vs Client Components, when to use
use client.Data Fetching
fetch in server components, caching, revalidation.
Rendering
SSR, SSG, ISR, CSR — differences and when to use each.
◆ App Router Core Idea
In the App Router, components are Server Components by default. They run on the server, have zero client JS, and can fetch data directly. Add
"use client" only when you need interactivity or browser APIs.💡 Interview Tip
Be prepared to explain the difference between Pages Router and App Router. Most new projects use App Router but many companies still run Pages Router in production.