Migrating from NextJs 12 `pages` router @hamedbahram
Migrating from NextJs 12 `pages` router  @hamedbahram
Uploaded April 2023 | Updated December 2026, 3 hours ago
This video will look at migrating your server side rendering (SSR), static site generation (SSG), and incremental static regeneration (ISR) in the NextJs 12 `pages` router to the NextJs 13 `app` router.

👉🏼 The Ultimate NextJs Course
🔗 hamedbahram.io/courses/nextjs

👉🏼 Source code (Github repo)
🔗 github.com/HamedBahram/next-todo

👉🏼 Migration guide (NextJs docs)
🔗 beta.nextjs.org/docs/upgrade-guide


CHAPTERS
0:00 Intro
1:20 Migrating to the app folder
3:00 Route config options
4:35 dynamic config
10:30 Coding
11:26 Static site generation
17:50 Server side rendering
19:10 Incremental static regeneration
20:25 revalidate config
23:05 Recap
24:20 Dynamic routes
25:35 generateStaticParams function
27:25 dynamicParams config
34:10 Recap
38:50 ISR in dynamic routes
40:46 Final Recap
43:15 Outro
Migrating from NextJs 12 `pages` routerBuild a Video Course Platform Using Mux, Clerk, Neon, Prisma, and NextJs5 ways to opt out of static rendering in NextJsBuild shadcn forms fasterOptimistic UI in NextJs 14useActionState in React 19 ft Sam SelikoffAdding custom sign in & sign up pages [4/6]How to Add Google Tag Manager in NextJs 14Using Prismic with NextJSAdvanced search filtering in NextJs 15 ft Aurora ScharffIntercepting Routes in NextJs 14Dark Theme in NextJs 13 – Using React Context in Server Components
Hamed Bahram |

Migrating from NextJs 12 `pages` router

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER