Why both button get re-render?

后端 未结 0 567
青春惊慌失措
青春惊慌失措 2021-01-25 14:18

In the below program, as soon I click any button the other button also gets re-render even when I have used React.memo(). Also only other button gets re-render not the other cou

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