Skip to content

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

Notifications You must be signed in to change notification settings

polizz/react-with-hooks-removal-codemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published