Gradual Migration Strategies for Next.js
summary
air.inc migrates an app to Next.js using three concrete strategies and documents gotchas and fixes: rewrites to proxy paths to the old deployment, catch-all routes to mount CRA pages without SSR, and optional catch-all to host the whole app until pages are converted. Practical fixes include next/dynamic(ssr: false) for browser globals, next-transpile-modules for untranspiled deps, creating a createStore factory for Redux, using madge to find circular imports, and re-adding svgr.
AI-written summary · about
chapters (5)
related talks
10mTaking the Next step
15mGetting Started with Next.js
19mMoving from a React SPA to Next
37mHands On: How To Migrate To 16 and "Use Cache"
10mCRA to App Router in 5 Steps: A Case Study with Graphite
14mRewriting eaze.com with Next.js
25mNext.js: Choosing an Optimal Rendering Pattern for your Application
09mBuild Projects 10x Faster with Next.js
