This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
To use this file you'll need to have `jscodeshift` (https://github.com/facebook/jscodeshift) | |
installed, which you can get through npm or yarn. | |
You can invoke it as follows: | |
`jscodeshift -t add-super-calls.js ~/path/to/js/files/` | |
You can pass `-d` to do a dry-run. | |
*/ | |
const hookNames = [ | |
'init', | |
'didInitAttrs', |