Next.js’s New App Vs. Pages Router: A Detailed Comparison
Ending all the confusion
Published in
6 min readJun 16, 2023
We placed our pages in Next's "pages" directory for years.
This is about to change now.
A while ago, Next.js introduced the new App Router, significantly changing how we create pages. But not only the directory in which we store our app's pages changes — but also the…