React requestAnimationFrame Loop not updating state

后端 未结 0 1092

I\'m trying to stop the requestAnimationFrame when count gets 45, but it doesn\'t work for some reason... any help?

**I simplified the code for question purpose, I\'d

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