Migrating a large, open-source React application to Next.js and Vercel
Vercel migrates the BBC website's React codebase to Next.js, removing 20,000+ lines of code and 30+ dependencies while cutting local iteration speed from 1.3s to 131ms.
If your company started building with React over 5 years ago, chances are you implemented your own custom solution or internal framework. Many engineers and teams want to explore technologies like Next.js and Vercel. However, some don't know where to get started because it's so far from their current reality or they don't see how supporting a custom framework is holding them back. As a coding exercise, we wanted to show what this could look like by migrating a large, open-source React application to use Next.js.
We managed to , all while improving the local iteration speed of making changes from . This post will share exactly how we incrementally adopted Next.js and Vercel to rebuild the BBC website.remove 20,000+ lines of code and 30+ dependencies1.3s to 131ms Read more