What's so hard about routing with react-router-dom? It only takes an import, and one line per route.
Updating the codebase from v1 to v2 to v3 to v4... no, thank you!
I'm a burned child here
You should take a look at what the Angular Team are doing with their CLI tool and how they're writing migrations to automatically fix any breaking changes within your codebase as they progress from version to version by simply running ng update.
And they do it using an AST rather than a RegEx to maintain the correctness of your program.
Yeah they maybe do it now
and these code mods have their limitations.
the react team has them too.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.