mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 23:05:23 +00:00
update react-without-es6.md (#8351)
This commit is contained in:
committed by
Dan Abramov
parent
95f34e9bf3
commit
d00d8c81cd
@@ -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