setState updating but values not being retained

后端 未结 0 1035
天涯浪人
天涯浪人 2021-01-28 06:26

I have a component fetching a API service that returns JSON. The service works, but the state on returns the json in the fetch after the second alert(this.state.questions); belo

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