How can i update state just after dispatching function inside componentDidUpdate

前端 未结 0 1707
时光说笑
时光说笑 2020-12-18 18:38

I am trying to update state just after action is dispatched but the problem with my code is state gets update before dispatching action. Here is the code

comp         


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