Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Migrate a large, open-source React application to Next.js and Vercel

Vercel News·Michael Novotny·4 days ago
#VW4Iogcp
Reading 0:00
15s threshold

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 remove 20,000+ lines of code and 30+ dependencies , all while improving the local iteration speed of making changes from 1.3s to 131ms . This post will share exactly how we incrementally adopted Next.js and Vercel to rebuild the BBC website. Link to heading The BBC React Application The BBC website is a large, production-grade, open-source React application. It is a completely custom React SPA (single-page application). Very few projects of this size and scope are developed in the open.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More