To transpile cjsx to jsx:
depercolate --prefer-const <filename>
To then update the jsx to the newest React API (info):
jscodeshift -t ./transforms/class.js --mixin-module-name=react-addons-pure-render-mixin --flow=true --pure-component=true --remove-runtime-proptypes=false <path>