2
これらのオプションは使用できますか?彼らはすべて同じように動作しますか?私はES6を使用しています。Reactでのbind(this)の使用
onChange={this.makeChange.bind(this)}
onChange={() => this.makeChange()}
constructor(props) {
super(props);
this.makeChange = this.makeChange.bind(this);
}
また、[eslint-plugin-react repository](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules)でbindの使用を防ぐ方法の例を見つけることもできます/jsx-no-bind.md)** Prot Prot ** – dschu