Use ref inside React.memo

后端 未结 0 349
暖寄归人
暖寄归人 2020-12-17 20:28

React.memo can be used to control whether a React function component should update or not. It compares by props by default. Now I want to compare a prop with on

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