We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b4aef commit 4c2a499Copy full SHA for 4c2a499
README.md
@@ -1,5 +1,14 @@
1
# react-declassify: say goodbye to class components
2
3
+This codemod automatically transforms **React class components** into **React functional components using Hooks** for you!
4
+
5
+## Features
6
7
+- ✅ Supports props, states, methods, and refs.
8
+- ✅ Comments, spaces, and styles are preserved thanks to the [recast](https://github.com/benjamn/recast) library.
9
+- ✅ Designed to generate as idiomatic code as possible. Not something Babel or Webpack would generate!
10
+- ✅ Based on classical heuristic automation; no need to be fearful about whimsy LLMs.
11
12
## Usage
13
14
```
0 commit comments