babel-plugin-update-react
update react from 15.x to 16.x
Example
In
// input code
Out
"use strict"; // output code
Installation
$ npm install babel-plugin-update-react
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins update-react script.js
Via Node API
;