Replace ReactDOM.render with createRoot
ProprietaryMigrates from the legacy ReactDOM.render() API to the createRoot() API from react-dom/client introduced in React 18.
org. openrewrite. react.18. replace-reactdom-rendermod run . --recipe= org. openrewrite. react.18. replace-reactdom-renderInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.