React State not getting updated properly in SetInterval Methods

后端 未结 0 482
生来不讨喜
生来不讨喜 2021-01-26 14:03

I\'ve a button in the UI and in OnClick event handler, I\'ve to run a set Interval timer.In Set Interval timer I\'m checking for a condition and if the condition is met I\'m upd

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