react-19-migration-recipe
Run all React 19 migration codemods in sequence.
Usage
bash
This recipe applies the following codemods:
- react-19-replace-reactdom-render — replace ReactDOM.render with createRoot(...).render(...)
- react-19-replace-string-ref — replace deprecated string refs with callback refs
- react-19-replace-act-import — move act from react-dom/test-utils to react
- react-19-replace-use-form-state — rename useFormState to useActionState
- react-19-prop-types-typescript — convert React propTypes declarations into TypeScript props interfaces