0
点赞
收藏
分享

微信扫一扫

react组件引用不是大写开头

寒羽鹿 2022-02-07 阅读 25

 

当App.js引入的组件在return里面不是大写字母开头时报的错误:

Warning: The tag <list> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter. list div App 

Warning: The tag <list> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter. list div App

解决方法:<list> 改为大写 就好了<List>

举报

相关推荐

0 条评论