Use case
Framework
Owner
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodCodemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemodRemix/2/React Router/Upgrade
This codemod automates most of the manual steps outlined in the Remix to React Router upgrade guide.
React Router/6/UseHistory To UseNavigate
This codemod migrates
useHistory
touseNavigate
in React Router codebases. It replacesuseHistory
imports and updates all instances ofhistory.push
,history.replace
,go
,goBack
, andgoForward
to align with theuseNavigate
API.React Router/6/Switch To Routes
This codemod updates
Switch
components toRoutes
in React Router, in line with React Router v6 and newer. It also adjusts the imports, replacingSwitch
withRoutes
inreact-router-dom
import statements.