C

react/19/migration-recipe

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This recipe is a set of codemods that will fix some of React 19 breaking changes.

The recipe includes the following codemods:

  • react/19/replace-reactdom-render
  • react/19/replace-string-ref
  • react/19/replace-act-import
  • react/19/replace-use-form-state
  • react/prop-types-typescript

Ready to contribute?

Build your own codemod and share it with the community.