Use case
Framework
Owner
- 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 by- @codemod 
- Styled Components Transient Props Codemod- How to use?
- React Router/4/Move Hoc To Global Scope- Moves HOC calls to the global scope - Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/Rename Unsafe Lifecycles- This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it. 
- React/Create Element To Jsx- This codemod transforms React.createElement calls into JSX syntax, making your code more readable and maintainable. 
- React/Update React Imports- This codemod transforms React imports to use named imports instead of default or namespace imports. This helps reduce bundle size by allowing better tree-shaking of unused React exports. 
- React/19/Migration Recipe- This recipe is a set of codemods that will fix some of React 19 breaking changes. - Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Replace Create Factory- Replaces deprecated - React.createFactorymethod with JSX.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/Replace React Fc Typescript- This codemod removes - React.FC,- React.FunctionComponentand- React.SFCand replaces the Props as the type of the unique argument in the component definition.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/Prop Types Typescript- Codemod to convert React PropTypes to TypeScript types. - Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Use Context Hook- This codemod will convert the usage of - useContextto the new hook format, introduced in React v19.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Replace Use Form State- This codemod will replace the usages of - useFormState()to use- useActionState(), introduced in React v19.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Replace String Ref- This codemod migrates string refs (deprecated) to callback refs. - Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Replace Reactdom Render- Replaces usages of ReactDom.render()withcreateRoot(node).render().
- Replaces usages of ReactDom.hydrate()withhydrateRoot()
- Replaces usages of ReactDom.unmountComponentAtNode()withroot.unmount()
 - Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- Replaces usages of 
- React/19/Replace React Test Renderer Import- Replaces - react-test-renderer/shallowimport.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Replace Default Props- Replaces default props with ES6 default parameters. - Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Replace Act Import- This codemod will replace the usages of - TestUtils.act()to use- React.act(), introduced in React v19.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Remove Memoization- This codemod will remove manual memoization hooks: - useCallback,- useMemoand- memo. This codemod goes hand in hand with React Compiler.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod 
- React/19/Remove Legacy Context- Removes legacy context methods - childContextTypesand- getChildContextfrom react class component. Wraps rendered children with Context.- Codemod verified- Regularly tested and maintained by our engineers and codemod expert community by- @codemod