Dependency upgrade planner
ProblemMajor version upgrades break builds in ways the changelog doesn't make obvious.
React Router 6 → 7, package.json attached
Affects you: json() and defer() are deprecated — return plain objects from loaders.
Step 1: upgrade to the latest 6.x and turn on the future flags; fix warnings.
Then: npm i react-router@7 and remove react-router-dom.
Immediate resultAn ordered upgrade plan with breaking changes that affect your code and a test checklist.


