CRA to App Router in 5 Steps: A Case Study with Graphite (Kenneth DuMez)
Presented at Next.js Conf 2023. View all talks from the conference: https://www.youtube.com/playlist?list=PLBnKlKpPeagl57K9bCw_IXShWQXePnXjY Explore templates of sites built with Next.js: https://vercel.fyi/verceltemplates Check out the Vercel product tour: https://vercel.fyi/producttour At Graphite we believe Next.js is the future. It provides more stability, faster build times, and bundle splitting, benefits that we weren’t getting with CRA. In migrating our sprawling, typescript monorepo, that dozens of developers collaborate on simultaneously, our first attempts at migration were incredibly expensive and failed partway through. After talking to the Vercel team however, and using the new AppRouter, we condensed the entire migration into 5 simple PRs. Join us and learn from our mistakes as we explore those PRs, brought us from CRA to AppRouter.