Continuous Rendering even when value does not change

前端 未结 0 1215
生来不讨喜
生来不讨喜 2020-12-29 13:46

Problem

My component renders every second instead of only rendering if the state passed into setCurrentlyPlaying() is different. How can I fix this behavior?

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