• 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.

  • React/19/Replace Create Factory

    Replaces deprecated React.createFactory method with JSX.

  • React/Replace React Fc Typescript

    This codemod removes React.FC, React.FunctionComponent and React.SFC and replaces the Props as the type of the unique argument in the component definition.

  • React/Prop Types Typescript

    Codemod to convert React PropTypes to TypeScript types.

  • React/19/Use Context Hook

    This codemod will convert the usage of useContext to the new hook format, introduced in React v19.

  • React/19/Replace Use Form State

    This codemod will replace the usages of useFormState() to use useActionState(), introduced in React v19.

  • React/19/Replace String Ref

    This codemod migrates string refs (deprecated) to callback refs.

  • React/19/Replace Reactdom Render

    • Replaces usages of ReactDom.render() with createRoot(node).render().
    • Replaces usages of ReactDom.hydrate() with hydrateRoot()
    • Replaces usages of ReactDom.unmountComponentAtNode() with root.unmount()
  • React/19/Replace React Test Renderer Import

    Replaces react-test-renderer/shallow import.

  • React/19/Replace Default Props

    Replaces default props with ES6 default parameters.

  • React/19/Replace Act Import

    This codemod will replace the usages of TestUtils.act() to use React.act(), introduced in React v19.

  • React/19/Remove Memoization

    This codemod will remove manual memoization hooks: useCallback, useMemo and memo. This codemod goes hand in hand with React Compiler.

  • React/19/Remove Legacy Context

    Removes legacy context methods childContextTypes and getChildContext from react class component. Wraps rendered children with Context.

  • React/19/Remove Forward Ref

    React.forwardRef will be deprecated for Function Components in near future. This codemod removes forwardRef function.

  • React/19/Remove Context Provider

    This codemod will remove the usage of Provider for contexts; e.g., Context.Provider to Context

  • Classnames To Clsx

    Converts classnames to clsx.