Uncaught TypeError: Cannot read property 'injection' of undefined [closed]

China☆狼群 提交于 2020-05-28 13:31:11

问题


I am getting following error after upgrading react to 16.x

Uncaught TypeError: Cannot read property 'injection' of undefined
    at injectTapEventPlugin (injectTapEventPlugin.js:23)
    at eval (index.js:53)
    at Object.<anonymous> (bundle.js:1363)
    at __webpack_require__ (bundle.js:556)
    at fn (bundle.js:87)
    at eval (multi_main:3)
    at Object.<anonymous> (bundle.js:589)
    at __webpack_require__ (bundle.js:556)
    at bundle.js:579
    at bundle.js:582

Please help!!!

react version --> "^16.4.2" react-tap-event-plugin --> "^3.0.3"


回答1:


We cannot use react-tap-event-plugin after React 16.4.0

https://github.com/zilverline/react-tap-event-plugin/issues/121



来源:https://stackoverflow.com/questions/52251687/uncaught-typeerror-cannot-read-property-injection-of-undefined

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!