Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 10

The Pages Router and migration

The Pages Router for legacy codebases: its data functions, _app and _document, how it coexists with the App Router, and what changes when a page moves into app/.
  1. 010How do getStaticProps, getServerSideProps and getStaticPaths map to App Router code?medium
  2. 020What changes about data, layouts and client JavaScript when a page moves to app/?medium
  3. 030Can pages/ and app/ coexist, and what isn't shared between them?medium
  4. 040What did _app and _document do, and what replaces them?easy