Destructuring a function call

前端 未结 0 977
陌清茗
陌清茗 2020-12-13 07:59

Assuming the following code:

this.props.myFunction();

EsLint gives out the following error:

Must use destructuring props assig         


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