Moving off Create React App
As the title implies, I want to move our relatively complex React app off of CRA mainly for speed benefits. For context, we were on Angular 14 until we had a corporate thingy to either upgrade or do what we did which was move to React and rebuild from the ground up. I had just joined the team and didn’t know CRA and how painful at times it would be. We use TS with SSRM (needed for AG Grid) and use Jest as a test suite and Go in the backend. I can add more details as needed. Jest honestly takes years in Jenkins (even after making it single threaded) and I can see the build time differences if we were to switch. What would be a recommendation to migrate over to and how difficult would this effort be? This for an internal site for a relatively large corporation if this matters. Thanks.
5 Replies
For tests you can just vitest
Rsbuild or vite should be able to handle that for the most part
If you don’t need SSR or a server to handle react stuff, then should be enough
Rsbuild
The Rspack-based build tool
DEV Community
Migrating from create-react-app to Vite: A Quick and Easy Guide
In recent times, React has shifted its recommendation from using create-react-app (CRA) as the...
Let me take a closer look and see how feasible this is. Thanks!
You can start a new app and port code as well