A guide to React onClick event handlers

added by JavaScript Kicks
7/10/2018 5:40:31 PM

800 Views

Event handlers are used to determine what action is to be taken whenever an event is fired. This could be a mouse click or a change in a text input. In React apps, events are written in the camelCase format, that means the onclick event will be written as onClick in a React app.


0 comments