Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 为什么在es6在这种情况下不需要bind

0 votes
424 views
1 answer
    这种情况为什么不需要bind this? class ArticleForm extends React.Component { // ... onCancelImageDialog = () => { this. ... return <Child onClick={this.onCancelImageDialog.bind(this)} /> } }...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...