Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rickyvetter/upgrade-reason-react
https://github.com/rickyvetter/upgrade-reason-react
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rickyvetter/upgrade-reason-react
- Owner: rickyvetter
- Created: 2020-04-29T16:14:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-05T03:54:59.000Z (over 4 years ago)
- Last Synced: 2024-05-11T23:37:11.870Z (5 months ago)
- Language: Reason
- Size: 24.3 MB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - upgrade-reason-react
README
## ReasonReact migration script
For migrating from 0.7 to 0.8. Running attempts to find React.ref usage and convert to the new record shape. It cannot find all React.ref usage - particularly if the code opens modules. In this case you might have to manually convert some code.
### Usage
Upgrading from reason-react 0.7.0 to 0.8.0: `npm install https://github.com/rickyvetter/upgrade-reason-react\#0.7.0-to-0.8.0`
```console
find src -name "*.re" | upgrade-reason-react
```