Course
summary


    0 chapters available

Loading...

Create a modern web application with React

Difficulty: Junior ● Progress: 0 / 0 modules completed

Responding to events

ticket(2).png

You now know how to display a component, and inject data into it thanks to props. But an application without interaction is a bit boring!

Let's now see how to react to events, such as a mouse click, a form submission, etc…

The principle

In React, it is possible to listen to events on HTML elements or components thanks to the attributes onClick, onChange, onSubmit, etc…. Just like you would without React!

You need to purchase this course to read this module!

Or !