babel-plugin-react-compat-jsx
Turn JSX into React Pre-0.12 function calls
Installation
$ npm install babel-plugin-react-compat-jsx
Usage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["react-compat-jsx"]
}
Via CLI
$ babel --plugins react-compat-jsx script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["react-compat-jsx"]
});