Skip to content

Commit 4c2a499

Browse files
committed
Describe feats
1 parent 76b4aef commit 4c2a499

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# react-declassify: say goodbye to class components
22

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+
312
## Usage
413

514
```

0 commit comments

Comments
 (0)