How to make setState working in useEffect

前端 未结 0 718
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 12:49

i am using fetch API to fetch from an API.
After fetching the result i want to setState to the reult which is not working
this is the function that fetches the

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