Use case
Framework
Owner
React 17 Default Props To Params
Example
This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.
Reka Ui/Update Combobox Filter
Combobox has been refactored and improve to support better custom filtering
Reka Ui/Rename Controlled State
Replace searchTerm props of Root to Input's v-model.
MoveStateToChildComponent
This codemod refactors React components by moving
useState
hooks from parent components to child components when the state and setter function (setState
) are passed down as props. The goal is to simplify the parent components and allow child components to manage their own internal state when appropriate.Reka Ui/SearchTerm Props Of Root To Input'S V Model
Replace searchTerm props of Root to Input's v-model.
Remix Js/V2/Add Matches Param And Array Return To Meta Export
Instead of returning an object from meta, you will now return an array of descriptors and manage the merge yourself. This brings the meta API closer to links, and it allows for more flexibility and control over how meta tags are rendered.
Jest Add Root And Assertions To Test
Added Input Root Test Cases to which handle the data disabled case
Remix/2/Route Exports To Define Route
This codemod adds a
defineRoute({ action, loader, Component })
export to your routes and removes the old exports.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Remix/Single Fetch/Redirect To Response
This codemod removes Remix's
redirect()
andredirectDocument()
helper functions to take advantage of the new Single Fetch features.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Remix/Single Fetch/New Response To Response
This codemod removes
new Response()
calls in actions and loaders and replaces them with mutations to the newresponse
arg from Single Fetch.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Remix/Single Fetch/Json To Response
This codemod removes Remix's
json()
helper function to take advantage of the new Single Fetch features.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Remix/Single Fetch/Defer To Response
This codemod removes Remix's
defer()
helper as it is no longer needed in Single Fetch.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Valibot/Migrate To V0.31.0
You can use Codemod to automatically update your code to the new API. See the migration guide for more details on the changes.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
React/19/Remove Forward Ref
React.forwardRef will be deprecated for Function Components in near future. This codemod removes forwardRef function.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Biome/Migrate Rules
This codemod replaces configuration files for ESLint with corresponding biome.json for all the found rules. It also replaces Prettier configuration.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
React Native/74/Remove Deprecated Proptypes
This codemod removes deprecated PropTypes from React Native components (e.g., Image, Text, TextInput), reducing app size and memory overhead, and preparing the codebase for modern type-checking solutions.
Migrate Pytorch To Accelerator0 26 1
Short description