update react-without-es6.md (#8351)

This commit is contained in:
Michael Sinov
2016-11-20 04:19:16 +10:00
committed by Dan Abramov
parent 95f34e9bf3
commit d00d8c81cd

View File

@@ -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