Imager.jsx
Imager.jsx copied to clipboard
Update React to 0.14.2 and Switch Reactify to Babelify
I've updated React to 0.14.2, and removed the deprecated getDOMNode method in favour of the new findDOMNode from ReactDOM. I also switched out Reactify for Babelify, as it seems as if reactify is no longer maintained.
It's probably a good idea to change the major version number also, seeing as React 0.14.2 might cause some breakages.
Thanks in advance!
Excellent thanks! Should we simply state the presets in a browserify.transform field rather than adding an extra file?
Good idea. I had no idea you could specify options for the transfomer in the package.json. I'll make that change now.
@tominated if we did not use browserify the .babelrc or using babel-cli option flags would be our only solutions. At least with the package.json transform field we maintain the transform chainability :-)