Why is my memoized React component still re-rendering?

后端 未结 0 1911
南方客
南方客 2020-11-27 04:07

I\'m trying to understand React.memo but a bit puzzled. Thought the use case was preventing re-renders by memoizing the component? I have a memoized Child that is still bein

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