ReactJS - Parameterized Event Handlers

Article by Sanket Meghani

It is quite frequent requirement to pass parameters to event handlers of custom React components. There are several ways to achieve this with ES6 depending on whether we need reference to the event or not. This article will show you how to do through some simple examples.

Related resources

The best way to bind event handlers in React

In this post, we will explore the common ways of creating event bindings in React, and I'll show you their pros and cons. And most importantly, I will help you find the 'Only One Way' — or at least, my favorite. [continue]

Article by Charlee Li