函数调用和函数引用之间的区别是什么
onClick={this.clickedbutton()}
和函数引用
onClick={this.clickedbutton}
发布于 2018-12-26 13:16:08
第一个函数将在每次渲染完成时调用。仅当有单击事件时才返回第二个。
https://stackoverflow.com/questions/53927673
相似问题