React onClick={}.bind(i);警告

#1

Warning: bind(): React component methods may only be bound to the component instance.

#2

解决了
bind(this)就好

#3

react 什么版本