Upgrade to React 17

Proprietary

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

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

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. Upgrade React dependencies to 17