Why can't I setState the data I've successfully in React?

前端 未结 0 1356
半阙折子戏
半阙折子戏 2021-01-30 17:18

So I\'m new to React, and having trouble fetching API. I\'ve successfully fetched data object(I\'ve checked it with console.log(), but somehow cannot setState it. P

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