[REQUEST] Query related to migrate sim app
Hi, I have a query i was just wondering if someone from the core contributors or anyone can help me to understand how easy or difficult and what are the detail steps that i can follow to migrate the sim app from nextjs ro react-vite and tanstack router.
This is to inform that is only for learning purpose to migrate large scale.
Any input will be welcomed.
Thank you.
Hi @vt2730
Nice question migrating from Next.js to React + Vite with TanStack Router is definitely doable. The difficulty really depends on how much of the “Next.js magic” your app is using (like SSR, API routes, middleware, etc.).
If most of your app is client-side and uses Next mainly for routing, then the move is usually quite smooth. But if you rely a lot on SSR or built-in features, it may take more planning.
A simple way to approach it could be: 1. Create a fresh React + Vite project 2. Set up TanStack Router 3. Re-create your routes 4. Move components gradually 5. Replace any Next-specific code as you go
I’d say the migration effort ranges from “pretty simple” to “moderate refactor,” depending on your setup.
If you want to share a bit about your project size and features, happy to help think it through
Thanks