Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/polizz/react-with-hooks-removal-codemod

Remove the react-with-hooks library code when React 16.7.0 is released
https://github.com/polizz/react-with-hooks-removal-codemod

Last synced: 11 days ago
JSON representation

Remove the react-with-hooks library code when React 16.7.0 is released

Lists

README

        

# react-with-hooks polyfill codemod

This transform upgrades files based on [react-with-hooks](https://github.com/yesmeck/react-with-hooks) up to React 16.7.0 when it is released.

### Install
```
npm install @polizz/react-with-hooks-removal-codemod -D
yarn add @polizz/react-with-hooks-removal-codemod -D
```

### Run
```removeWithHooksPolyfill ```

`````` are any valid jscodeshift options, i.e. "--extensions jsx"