React, ES6, Autobinding, and createClass()
React, ES6, Autobinding, and createClass() blog.andrewray.me
TL;DR React removed "autobinding" in ES6 component classes. The code onClick={ this.onClickHandler } could fail inside onClickHandler because it's not bound to…