Find legacy React API usage
ProprietaryFinds the removed and deprecated React APIs that block an upgrade to React 19 (ReactDOM.render and hydrate, findDOMNode, legacy context, componentWill* lifecycles, function component defaultProps and more) by running one finder for each family, each with its own data table. For where a repository sits on the upgrade path by version, see the DevCenterReactStarter card in DevCenter.
org. openrewrite. react. search. find-legacy-react-apismod run . --recipe= org. openrewrite. react. search. find-legacy-react-apisInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.