最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【不去解决】react-debounce-input调用出错:Uncaught TypeError Cannot read property apply of undefined

ReactJS crifan 4552浏览 0评论

折腾:

【已解决】ReactJS中输入框输入内容变化时触发搜索返回列表

期间出错:

Uncaught TypeError: Cannot read property ‘apply’ of undefined

加上其他属性看看:

nkbt/react-debounce-input: React component that renders Input with debounced onChange

forceNotifyByEnter

forceNotifyOnBlur

                <DebounceInput
                  forceNotifyByEnter={false}
                  forceNotifyOnBlur={false}
                  debounceTimeout={this.props.debounceTimeout}
                  placeholder={this.props.placeholder}
                  onInputChange={this.onInputChange} />

问题依旧。

react-debounce-input Uncaught TypeError: Cannot read property ‘apply’ of undefined

Uncaught TypeError: Cannot read property ‘apply’ of undefined · Issue #2264 · webpack/webpack

Cannot read property ‘apply’ of undefined · Issue #2359 · reactjs/redux

Uncaught TypeError: Cannot read property ‘call’ of undefined · Issue #959 · webpack/webpack

好像都是angluar 2方面的问题

javascript – "TypeError: Cannot read property ‘apply’ of undefined" – Stack Overflow

javascript – Uncaught TypeError: Cannot read property ‘apply’ of undefined Google Maps – Stack Overflow

javascript – 不明白Uncaught TypeError: Cannot read property ‘apply’ of undefined – SegmentFault

【总结】

算了。这个是第三方的库:

react-debounce-input

的问题。

所以懒得理了。

因为及时解决了问题,也只能是修改本地已经npm install后的库的代码:

导致项目引用的库,不能很独立,所以放弃。

转载请注明:在路上 » 【不去解决】react-debounce-input调用出错:Uncaught TypeError Cannot read property apply of undefined

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
84 queries in 0.161 seconds, using 22.14MB memory