useEffect doesn't wait Promise.all?

前端 未结 0 1142
忘了有多久
忘了有多久 2020-12-10 00:37

I want to fetch data for every object in array passed as props (rootComments) and add the data to object properties:

useEffect(() => {
  rootC         


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