React child components state is undefined but can see state using console.log

后端 未结 0 818
被撕碎了的回忆
被撕碎了的回忆 2020-12-10 10:39

I have a parent component that gets data from an API end point using fetch. This data displays like it should. The parent component passes an element of an array of objects

相关标签:
回答
  • 消灭零回复
提交回复
热议问题