Quantcast
Channel: User Brett Merrifield - Stack Overflow
Viewing all articles
Browse latest Browse all 37

Comment by Brett Merrifield on How to Do ES 6 Arrow for Event Handlers with Parameters?

$
0
0
Its a function that returns a function. When you do onClick={this.handleClick(param1)} it returns onClick={(e) => { ... }} but with your params in scope for the function to use

Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>