Upgrade to React 19

Proprietary

Migrate deprecated and removed APIs and upgrade dependencies for React 19, applying every migration from React 15 up to 19. To move exactly one major version, use the step recipe instead.

org.openrewrite.react.migrate.upgrade-to-react-19
mod run . --recipe=org.openrewrite.react.migrate.upgrade-to-react-19

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. React 15 to 16 code changes
  2. React 16 to 17 code changes
  3. React 17 to 18 code changes
  4. React 18 to 19 code changes
  5. Upgrade React dependencies to 19