Update React transform READMEs from babel.github.io [skip ci] (#4903)

* Update React transform READMEs from babel.github.io [skip ci]

* Drop inline-elements polyfill message (move to website)
This commit is contained in:
Brian Ng
2016-11-28 19:50:17 -06:00
committed by Henry Zhu
parent 51e8fd1868
commit 4a14202e92
7 changed files with 182 additions and 20 deletions

View File

@@ -5,12 +5,12 @@ should enable this transform in dev mode.
## Example
###In
### In
```
<sometag />
```
###Out
### Out
```
<sometag __self={this} />
@@ -19,7 +19,7 @@ should enable this transform in dev mode.
## Installation
```sh
$ npm install babel-plugin-transform-react-jsx-self
npm install babel-plugin-transform-react-jsx-self
```
## Usage
@@ -37,7 +37,7 @@ $ npm install babel-plugin-transform-react-jsx-self
### Via CLI
```sh
$ babel --plugins transform-react-jsx-self script.js
babel --plugins transform-react-jsx-self script.js
```
### Via Node API