0.0.3 • Published 5 years ago
@polizz/react-with-hooks-removal-codemod v0.0.3
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"
0.0.3
5 years ago