ParentFull threadnathancahill·Facebook also maintains a JS codemod tool that React uses: https://github.com/facebook/jscodeshiftView on HN