React state not updating inside setInterval

前端 未结 0 1176
面向向阳花
面向向阳花 2021-01-20 05:20

I\'m trying to learn React with some simple projects and can\'t seem to get my head around the following code, so would appreciate an explanation.

This snippet from a

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