Infinite loop with useEffect

前端 未结 0 1368
清酒与你
清酒与你 2021-01-26 11:34

Why is the following giving me an infinite rerender? I have a small component with a single useEffect. Does the second param [currentData] do shallow c

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