reactjs/react-codemod

React codemod scripts

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 24 minutes ago
Added to GitGenius on September 15th, 2026
Created on October 19th, 2015
Open Issues & Pull Requests: 57 (+0)
GitHub issues: Enabled
Number of forks: 297
Total Stargazers: 4,406 (+0)
Total Subscribers: 57 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 45.2 hours
Mean response time: 42.9 days
90th percentile: 105.4 days
Tracked items: 13

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 10
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 841 days
Stale 30+ days: 10
Stale 90+ days: 9

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

React codemod is a collection of automated code transformation scripts for upgrading and refactoring React applications.

The tool addresses the challenge of applying breaking changes and API updates across large React codebases. Rather than requiring manual edits to every affected file, react-codemod provides executable transformation scripts that parse and rewrite code automatically. Each script targets a specific migration pattern, such as API deprecations or syntax changes introduced in new React versions. Developers run these scripts against their codebase to apply the transformations in bulk, reducing the manual effort required to keep applications current with React's evolution.

The project suits teams maintaining React applications that need to upgrade across major versions or adopt new patterns. It is particularly valuable when a codebase contains many instances of deprecated APIs or patterns that would be tedious to update by hand. The tool is most effective for developers who are already planning a React upgrade and want to automate the mechanical parts of that migration, freeing them to focus on behavioral changes and testing.

The project shows consistent maintenance activity with regular updates to support new React versions and patterns. The codebase receives ongoing contributions that add new transformation scripts and improve existing ones. Issues and pull requests are actively reviewed and addressed. The project maintains clear documentation of available codemods and their usage, making it straightforward for developers to identify which scripts apply to their upgrade path.