Skip to the page

Next.js · Concept

App Router vs Pages Router

The interviewer asks

What are the differences between the App Router and the Pages Router? We have a large Pages Router app. Would you migrate, and how?

Then

Follow-ups the interviewer asks next

  1. Layouts and partial rendering: what doesn't re-render on navigation?
  2. Can both routers coexist? Any caveats?
  3. What replaced getServerSideProps, getStaticProps, getStaticPaths, _app and _document?
  4. Incremental migration plan and risks.

The answer

What a strong answer covers

  • The App Router uses Server Components by default, nested layouts, streaming with Suspense, Server Actions, route handlers, and colocated loading/error/not-found files.
  • Data fetching happens in components (async RSC) instead of page-level functions. generateStaticParams replaces getStaticPaths.
  • Both can coexist route by route. Migrate leaf routes first, share UI with 'use client' components, watch for the global CSS and auth differences.
  • The Pages Router is still supported, but new features (Cache Components, PPR) are App Router only.

The red pen

Common traps

Avoid:"App Router is just a new folder name"; big-bang rewrites.

Practise this out loud

Say your answer out loud to an AI interviewer that follows up, and get a score for it.

Practise by voice

Practise questions like this out loud

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview