The reason this doesn't work is because you use the arrow function inside the ES5 component. thisthen undefined due to arrow function, per MDN documentation for arrow functions :
, this, , new.target. ( )
React -, 'autobinding', this . , (- , , , this). , this , undefined render. , undefined .
React:
render: function() {
}
autobind this , , . ES6, ES6:
render() {
}
ES6 , . , this , undefined, .