Events - React In Depth

Опубликовано: 22 Март 2026
на канале: Tech with Nader
2,388
153

Let's take a look at how Events work in the context of a React application.

React events work similarly to Events in the DOM API but with a few key differences that we compare and contrast together.

We then look at a code example as well as a walkthrough of how callbacks work in Javascript and how we use them in the context of event handlers in React.

We wrap up the video by looking at how we can work with multiple arguments and events using callback functions.

Chapters:
00:00 Introduction
00:39 What are Events?
02:44 DOM API vs React API
08:11 HTML vs React API
10:54 React Events Code Demo
20:30 Callback Functions
32:27 Incorrect Event Syntax
33:20 Correct Event Syntax
35:03 Multi-argument Event Code Demo
39:28 Next Steps

📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/react-in-depth

💬 Come join us on Discord to chat with a like-minded community about tech and learning:   / discord  

🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon:   / techwithnader