Skip to content

Commit

Permalink
update react-without-es6.md (facebook#8351)
Browse files Browse the repository at this point in the history
  • Loading branch information
sihaelov authored and gaearon committed Nov 19, 2016
1 parent dfdff2b commit 501ac15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/react-without-es6.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Please note that the syntax above is **experimental** and the syntax may change,
If you'd rather play it safe, you have a few options:

* Bind methods in the constructor.
* Use arrow functions, e.g. `onClick={(e) => this.handleClick(e)})`.
* Use arrow functions, e.g. `onClick={(e) => this.handleClick(e)}`.
* Keep using `React.createClass()`.

## Mixins
Expand Down

0 comments on commit 501ac15

Please sign in to comment.