how to migrate from cra to next
Unanswered
Valentine ant posted this in #help-forum
Valentine antOP
I have big project and i want to migrate to next js
There’s solution to do that or i will remake it from begin
There’s solution to do that or i will remake it from begin
4 Replies
It’s still better to remake it from beginning, you can reuse some utilities, design system and React.js components. But many things will be changed, especially the logic
Valentine antOP
The problem my project is big and if i change it from beginning it will take long time
Is in production
Then migrate it if and only if it's affordable for you (or your team)
I have migrated many project projects from vite to Next.js Pages Router, and it took a long time to rewrite the codebase and e2e tests.
You will absolutely face a lot of problems during the migration, such as deprecated dependencies or errors, and your app will be unstable for a while (unless you've tested it well)
As I developer, I will say there's no way to migrate without pain, please consider carefully before making the decision
I have migrated many project projects from vite to Next.js Pages Router, and it took a long time to rewrite the codebase and e2e tests.
You will absolutely face a lot of problems during the migration, such as deprecated dependencies or errors, and your app will be unstable for a while (unless you've tested it well)
As I developer, I will say there's no way to migrate without pain, please consider carefully before making the decision