How to migrate from Vue to React without downtime
An incremental, route-by-route approach to moving a live Vue app to React while you keep shipping features, with the pitfalls that slow migrations down.
Samed Škulj
· 3 min read
Moving a live product from one frontend framework to another is a classic way to lose a year. The "big rewrite" approach freezes features, piles up risk, and ends with a stressful cut-over day. The incremental approach is slower to start but keeps the product shipping the whole time. I've led this kind of migration, from Vue 2.7 to React, on a large live platform with zero downtime. This is the approach.
Why teams migrate
The usual reasons are reasonable: Vue 2 reached end of life, hiring is easier for React, the company standardises on one framework, or a design system exists only in React. Whatever the reason, write it down. It decides how far the migration needs to go and when it's "done".
The core idea: run both, move one piece at a time
Instead of rewriting everything and switching over, make both frameworks run in the same product, then move features across one at a time. At every point, the app works and can be deployed.
There are two common ways to run both.
Option 1: split by route
A router or proxy sends some URLs to the new React app and the rest to the old Vue app. Migrate a page, switch its route, repeat.
- Best when pages are fairly independent.
- Clean separation; each app has its own build.
- Shared pieces (header, navigation, auth) need to exist in both until the end.
Option 2: mount React inside Vue (or the reverse)
Render React components inside existing Vue pages through a small wrapper component. Migrate from the leaves up: buttons and widgets first, then sections, then whole pages.
- Best when pages are large and interconnected.
- Lets you migrate a page piece by piece.
- Needs care with state shared across the boundary.
Many migrations use both: mount React inside Vue during the middle phase, then switch routes once a page is fully React.
Order of work
- Shared foundations first. Design tokens, the component library, API client, auth handling, error tracking. If both apps use the same API client and tokens, features look and behave the same during the migration.
- Low-risk, high-traffic pages next. They prove the setup works under real load while mistakes are cheap to fix.
- Complex pages in slices. Break them into components and migrate them over several releases.
- Shared shell last. Navigation, layout and global state are touched by everything; move them when little is left on the old side.
- Remove the old framework. Delete the bridge, the old build and its dependencies. Until this step, you pay for two frameworks.
Shared state across the boundary
The hardest part is state both sides need: current user, permissions, feature flags, in-progress forms. Options:
- Keep shared state outside both frameworks (a small store, or simply the server) and give each side an adapter.
- Communicate through events at the boundary for UI actions.
- Avoid deep two-way syncing; it's where most migration bugs live.
Keep shipping features
Agree on a rule early: new features are built in React. Changes to old Vue code are allowed only for bug fixes. This stops the old side from growing and gives the migration natural momentum.
Test the behaviour, not the framework
End-to-end tests that drive the browser don't care whether a page is Vue or React. Write them for the critical flows before migrating each area, and run them on every change. They're the safety net that makes "zero downtime" realistic. More on that in adding tests to an app that has none.
Measure as you go
Track the share of routes or components migrated, bundle size (it grows during the migration, since you ship both), and Core Web Vitals per page. A migration is also a chance to fix performance page by page, but keep refactors and migrations in separate changes so problems are easy to trace.
Common ways it goes wrong
- Rewriting and redesigning at the same time. Users get a new UI and new bugs in one go.
- Leaving the last 10% for "later". Two frameworks forever is worse than either one.
- No owner. Migrations stall when they're everyone's side project.
If you're planning a migration and want a senior engineer to lead it inside your team, that's what the contract senior engineer offer is for. For deciding whether to migrate, rescue or rewrite in the first place, see rescue or rewrite.

Written by Samed Škulj
Senior Full-Stack Engineer since 2021. I have shipped with teams at Deel, HTEC Group (for Zoox), Ministry of Programming, and now help SaaS teams add AI features and get AI-built apps ready for production. LinkedIn