My axios get request in componentDidMount() doesnt actually store anything in my state in my react app

前端 未结 0 1077
夕颜
夕颜 2020-11-22 03:37

Screenshot of my code

My code doesn\'t seem to work as my GET request doesn\'t actually put any data into my state with setState(). I feel like it is smth to do with

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