Dispatch doesn't work in onClick function

前端 未结 0 860
我在风中等你
我在风中等你 2020-11-21 08:06

I\'ll spare you the broader context as it\'s pretty simple. Using React hooks, the first dispatch here fires automatically and works just fine, but the second one doesn\'t.

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