Back to Interview Hub

Next.js Questions

Server components, routing, SSR, SSG, and App Router architecture.

Showing 1-6 of 70 questions

1 / 12
1QuestionsHard🔥 95% Asked

How to optimize large lists?

Asked in:AtlassianAccentureWalmartCisco

Use virtualization, pagination, memoization, stable keys, avoid expensive render logic, and move state close to where it is needed.

Page 4

2QuestionsEasy🔥 32% Asked

What is Next.js?

Asked in:InfosysUberAtlassianWalmart

Next.js is a React framework for routing, SSR, SSG, API routes, image optimization, and production-ready web apps.

3QuestionsEasy🔥 65% Asked

Pages router vs App router?

Asked in:PaytmAdobe

Pages router uses pages directory and file-based routes. App router uses app directory, layouts, server components, and nested

routing.

4QuestionsEasy🔥 47% Asked

What is dynamic routing?

Asked in:WalmartAirbnbAccenture

Dynamic routing creates pages like /blog/[slug] where slug value comes from URL.

5QuestionsMedium🔥 75% Asked

SSR vs SSG vs ISR?

Asked in:IBMLinkedInInfosys

SSR renders on each request. SSG renders at build time. ISR updates static pages after a revalidation time.

6QuestionsMedium🔥 80% Asked

What are server components?

Asked in:WalmartCognizantAtlassianTCS

Server components render on server, reduce client JS, can access backend resources, but cannot use browser-only hooks like

useState.