Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
## React Codemods [![Build Status](https://travis-ci.org/reactjs/react-codemod.svg)](https://travis-ci.org/reactjs/react-codemod)

This repository contains a collection of codemods to help update React apps.

All codemods, whether you use the `codemod` CLI command or `react-codemod`, are free and open source, with the source code available in this repository.
> [!IMPORTANT]
> The codemods in this repository are no longer maintained. The maintained
> React codemods now live in
> [codemod/react-codemod](https://github.com/codemod/react-codemod) and are
> published in the [Codemod Registry](https://go.codemod.com/react-codemods).
>
> The new codemods are implemented with JSSG and include many bug fixes, improved
> performance, better JavaScript/TypeScript/JSX handling, and ongoing maintenance.

This repository still contains older codemod implementations to help update
React apps. The list below documents the codemods that live here. Except for
intentionally deprecated React patterns such as `class`, these codemods are
superseded by the maintained JSSG codemods from
[codemod/react-codemod](https://github.com/codemod/react-codemod).

The maintained JSSG codemods and the legacy source in this repository are free
and open source.

### Usage

Expand Down