Does passing a reference to onClick instead on () -> fn have real impact on performance? in React

后端 未结 0 1477
既然无缘
既然无缘 2021-02-09 16:45

I was wondering if it is real because I know that React has some inside mechanism to keep everything in a good fit. So I made a few tests:

I made component:



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