我正在开发一个带有expressjs和reactjs的应用程序。我使用expressjs从后端获取数据,但我得到的是map is not a function。this.state.productInfo} /> );}
这是组件productLists,我在其中发送了使用它的道具itemslist);
// console
这是我的App.js文件。我正在尝试使用fetch()获取数据,我缺少了什么?无法读取未定义的属性映射。出了什么问题?如何获得结果?I'm following the reactjs tutorial, and I keep running into an issue when passing the value fromThe error 'Cannot read property 'map' of u