useEffect not rerendering

前端 未结 0 479
陌清茗
陌清茗 2020-12-03 05:42

Ok I am new to using react useEffect hook and am confusing why I am having this issue. I use this code to fetch from Firebase API and I put it into an array called tempDoc :

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