Uncaught (in promise) TypeError: Super expression must either be null or a function

来源:互联网 发布:安卓编程文件管理器 编辑:程序博客网 时间:2024/05/22 12:47

React 项目中出现错误

这里写图片描述

定位错误文件 index.js
这里写图片描述

这个错误一般是 某个地方 书写不对

例如

React.Components    // 多了 一个  sReact.component     //  首字母应该大写

相关参考:
http://stackoverflow.com/questions/30116430/reactjs-giving-error-uncaught-typeerror-super-expression-must-either-be-null-or

0 0
原创粉丝点击