Imager.jsx icon indicating copy to clipboard operation
Imager.jsx copied to clipboard

Update React to 0.14.2 and Switch Reactify to Babelify

Open tominated opened this issue 10 years ago • 3 comments

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!

tominated avatar Nov 13 '15 03:11 tominated

Excellent thanks! Should we simply state the presets in a browserify.transform field rather than adding an extra file?

thom4parisot avatar Nov 13 '15 11:11 thom4parisot

Good idea. I had no idea you could specify options for the transfomer in the package.json. I'll make that change now.

tominated avatar Nov 16 '15 00:11 tominated

@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 :-)

thom4parisot avatar Nov 16 '15 11:11 thom4parisot