Commit Graph

3 Commits

Author SHA1 Message Date
Chris
dd5a665d42 update example to use this.state (#8425)
- In the previous example, the code works even without using bind(this) in the constructor.
- the reason being handleClick doesn't even use `this` and its just calling the global function alert.
- this change make use of this via access this.state.
2016-12-11 07:41:48 -06:00
Michael Sinov
d00d8c81cd update react-without-es6.md (#8351) 2016-11-19 18:19:16 +00:00
Kevin Lacker
aa9544bfac New Documentation 2016-10-21 20:59:08 +01:00