Skip to main content

Next.js

The React framework for production. App Router, server components, and smart data fetching are the key interview areas.

Topics

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.