Different between anonymous function and directly calling the function in a React component

前端 未结 0 1904
攒了一身酷
攒了一身酷 2021-02-01 04:40

Sorry this is more about lack of enough JS knowledge I think but my question is in my component if I have {() => this.renderCell(item, col)}

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