Use case
Framework
Owner
- Goto To Location Href- Codemod Description- This codemod is designed to replace specific patterns in TypeScript files with updated code logic. It transforms instances of - goto($A)into- window.location.href = $A;when the- $Avalue is a URL starting with- http://or- https://. This refactor makes external navigation more explicit by using- window.location.href.
- React Router/6/UseHistory To UseNavigate- This codemod migrates - useHistoryto- useNavigatein React Router codebases. It replaces- useHistoryimports and updates all instances of- history.push,- history.replace,- go,- goBack, and- goForwardto align with the- useNavigateAPI.
- React Router/7/Form Methods Post Get To Uppercase- This transformation updates formMethod checks to use uppercase HTTP methods. 
- Remix Js/V2/Remix Run 1 Use Transition To Use Navigation- This hook is now called useNavigation to avoid confusion with the recent React hook by the same name. It also no longer has the type field and flattens the submission object into the navigation object itself. 
- Remix Js/V2/Fetcher Submission Properties Flattening- Like useNavigation, useFetcher has flattened the submission and removed the type field. 
- Vue 3 Update Navigation Menu Link Emits And Handle Click- When using - NavigationMenuLinktogether with- NuxtLinkaccording to the documentation the menu does not dismiss when clicking on a link.
- Next/13/Replace Use Search Params- A recent update in Next.js brought a breaking change: the - useSearchParamshook no longer includes- params. To ease the migration, the new- useCompatSearchParamshook can be used. This hook mimics the behavior of the old- useSearchParamsin two ways:- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community 
- Next/13/Replace Next Router- Since Next.js 13.4, you can use the following hooks from the - next/navigationmodule:- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community 
- Next/13/Remove Get Static Props- The following data fetching methods are no longer available in the - appdirectory:- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community