react问题录-3 Super expression must either be null or a function, not undefined


解决

在学习React的时候,使用静态引入文件,起初会时不时的出现这个错,一般情况下,是 Component 的首写字母没有大写造成的!

转载自:https://blog.csdn.net/qq_42840269/article/details/96310821