0.0.3 • Published 5 years ago

@polizz/react-with-hooks-removal-codemod v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

react-with-hooks polyfill codemod

This transform upgrades files based on 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 <directory to scan> <options>

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