Is there a better way to bind 'this' in React Component classes?
You can avoid having to bind methods by using the transform-class-properties Babel plugin, which is an experimental ES7 feature. Make sure you enable stage-0 in order to use it.
This allows the use of arrow functions when defining your class methods, leveraging arrow functions' lexical binding so this
refers to function's context (in this case the class), like so:
class Foo extends Component {
boundFunction = () => { /* 'this' points to Foo */ }
}