react-19-replace-create-factory
Replace deprecated React.createFactory(...) and createFactory(...) calls with JSX.
This codemod mirrors react/19/replace-create-factory from codemod/commons.
Usage
bash
Example
Before
tsx
After
tsx
Reusable compiler-aware skills that help coding agents understand, plan, and safely evolve your codebase.
Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.
Replace deprecated React.createFactory calls with JSX
Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.