美文网首页
Super expression must either be

Super expression must either be

作者: 既然可以颠覆何必循规蹈矩 | 来源:发表于2018-07-17 16:40 被阅读0次

勤做笔记,方便自己,帮助他人。

错误:Super expression must either be null or a function, not undefined

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

一般是 React.Component 的引用和书写错误。

import React, { Component } from 'react';
import {
    StyleSheet,
    Text,
    View,
} from 'react-native';

相关文章

网友评论

      本文标题:Super expression must either be

      本文链接:https://www.haomeiwen.com/subject/tnlgpftx.html