State does not update in async function

前端 未结 0 1006
醉话见心
醉话见心 2021-01-02 17:35

Could you please help me understand why my state was not updated when I called two async functions in the first useEffect? and what is the best way to handle async data in t

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