[英]How to fix the problem “JSX element type 'MyCmp' does not have any construct or call signatures.” problem in react and react native?
[英]how can i solve this problem 'JSX element type does not have any construct or call signatures.' warning?
看起來您將 ItemComponent 設為字符串而不是 Real JSX 組件。 您應該制作 ItemComponent.jsx 文件並制作真正的組件並嘗試再次渲染它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.