Why does onClick not get fired when using useCallback?

前端 未结 0 1442
不知归路
不知归路 2020-12-29 05:06

I have the following code and I am wondering why onClick is not fired when using this useCallback function? Whereas handleChecked is?

const checkBoxRender = u         


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