mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
update react-without-es6.md (#8351)
This commit is contained in:
committed by
Dan Abramov
parent
dfdff2b61a
commit
501ac150f6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user