Reactjs

来自tomtalk
Tom讨论 | 贡献2017年10月26日 (四) 09:24的版本

跳转至: 导航搜索

快速入门

安装

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

If you get this error: bind(): React component methods may only be bound to the component instance. It’s probably because you are using ES5 bind on a component property in order to curry a property and you are passing in a scope as the first argument (such as this). A simple fix is to pass null in as the scope argument.