Reactで Uncaught TypeError: Cannot read property 'setState' of undefined と怒られた時の対処方
コンストラクタで明示的にthisをbindして上げる必要があるらしい
constructor(props) { super(props); this.onChangeValue = this.onChangeValue.bind(this); }
参考
ES6でReact使ってたらsetStateがundefinedとか怒られた件 - とっしぃのTech Memo
Reactで Uncaught TypeError: Cannot read property 'setState' of undefined と怒られる場合の対処法 - Qiita