added data don't update automatically in useEffect() Need refresh browser to get the last addition

前端 未结 0 805
被撕碎了的回忆
被撕碎了的回忆 2021-02-18 20:33

I have a trouble in small app. I have one component that add data to db. Works well. In other component I fetch the data inside useEffect() and make a search from db. As well wo

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