← All interview questions

Skill Zuno · skillzunos.com · Fullstack

Next interview questions

Prepare for Next interviews on Skill Zuno. This practice book covers Next interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.

Open Next on Skill Zuno

Also see the Next tutorial.

Next.js is a React framework for full-stack web applications. The App Router adds React Server Components, nested layouts, streaming, and server actions, along with several rendering and caching strategies. Next.js interviews cover routing, server and client components, data fetching, caching, rendering modes and deployment.

Sample Next interview questions

What is the difference between a Server Component and a client component?

Server Components, the default in the App Router, render on the server and send no JavaScript for themselves to the browser. A file marked 'use client' becomes a client component that can use state, effects and browser APIs.

What is incremental static regeneration?

ISR serves a statically generated page and regenerates it in the background after a revalidate period or when revalidatePath or revalidateTag is called, so pages stay fast but update without a full rebuild.

What are Server Actions?

Server Actions are async functions marked 'use server' that run on the server and can be called from forms or client components. They handle mutations without writing a separate API route.

What is a layout in the App Router?

A layout.tsx wraps every page in its folder and subfolders. Layouts keep their state and do not re-render when navigating between sibling pages, which suits navigation bars and sidebars.

What does middleware do in Next.js?

middleware.ts runs before a request reaches a route. It can redirect, rewrite or set headers and cookies, and is commonly used for authentication checks and locale detection.

What you can practice

  • Next interview questions for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • Fullstack topics alongside Next on skillzunos.com

More Fullstack interview questions

All interview questions