What is the performance impact of not using useCallback when binding listeners in react?

前端 未结 0 766
不知归路
不知归路 2021-01-21 16:01

In the react docs there are examples of onClick handlers bound without useCallback like example A below. I\'ve used useCallback to keep memoized compon

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