Content Deep Dive
Migrating to Next.js App Router with zero downtime
Blog post from WorkOS
Post Details
Company
Date Published
Author
Lucas Motta
Word Count
1,483
Language
English
Hacker News Points
2
Summary
The blog post discusses a migration strategy to adopt Next.js App Router incrementally without disrupting ongoing work. It outlines steps such as upgrading Next.js, migrating routing hooks, creating a temporary /app/new directory, importing existing code from /pages, using a query param to access the App Router, and removing the /pages directory. The post also highlights the benefits of React Server Components when applied in load-bearing code paths.