React preset

Strip flow types and transform JSX into createElement calls.

This preset includes the following plugins:

Installation

$ npm install babel-preset-react

Usage

Add the following line to your .babelrc file:

{
  "presets": ["react"]
}