setInterval and useEffect animation bug after leaving tab

前端 未结 0 1225
庸人自扰
庸人自扰 2021-01-13 08:11

I am currently using setInterval with useEffect to create an animation (see image 1)

The problem: After going to another tab and coming back, I get a

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