React useEffect doesn't update state after Mobx store value has changed in another component in refresh page

前端 未结 0 1880
我寻月下人不归
我寻月下人不归 2020-12-24 14:15

I want to set the Navbar component active item from the other components by using Mobx store. If the store change with an event in the components, useEffect will update the

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