reactjs/react-codemod
React codemod scripts observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 68
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3971
- days_rel: n/a
- days_push: 192
- n_releases_24m: 0
Adoption not part of the score
4411 stars · 298 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of codemod scripts for automatically updating React applications across versions, runnable via the codemod CLI or npx. It transforms source code (e.g., replacing ReactDOM.render with createRoot, removing forwardRef, converting createElement to JSX) using AST-based rewrites.
Use cases
- upgrade a React app to React 19
- automatically replace deprecated ReactDOM.render with createRoot
- convert React.createElement calls to JSX
- migrate string refs to callback refs
- bulk-refactor forwardRef usage across a codebase
- update act imports for new React test APIs
When to choose
- you are upgrading a React codebase across major versions and want automated migrations
- you need to apply repetitive mechanical refactors to many React files safely
When to avoid
- you need one-off manual refactors on a handful of files
- your project does not use React
- you need transforms for frameworks other than React
Facets
cli-tool · maturity active
developer-tools parser cli developer-tools frontend web-development cli cross-platform codemod react code-migration jscodeshift ast-transformation upgrade-tooling automation nodejs
2 sources
- readme: https://github.com/reactjs/react-codemod · fetched 2026-08-28 · 5dc7ba403dd8
- registry_npm: https://registry.npmjs.org/react-codemod · fetched 2026-08-29 · 574bd13c1dc8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| reactjs/react-codemod | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="reactjs/react-codemod")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem