1
00:00:01,580 --> 00:00:07,280
Let's have a look at some of the event types that we can use in React.

2
00:00:07,640 --> 00:00:13,190
React, provide a number of different event types that you can respond to.

3
00:00:13,220 --> 00:00:17,000
But here are some of the common input events.

4
00:00:17,150 --> 00:00:20,840
We have a bunch of them, but these are the commonly used ones.

5
00:00:20,840 --> 00:00:27,990
But since we haven't talked about how we can handle forms, this will not be clear to you but supports

6
00:00:28,010 --> 00:00:28,880
it on you.

7
00:00:28,880 --> 00:00:31,430
Come back and then revisit and explain more.

8
00:00:31,430 --> 00:00:37,640
So when we say on change, let's say that you have a form that you want to submit, let's say registration

9
00:00:37,640 --> 00:00:39,110
form, and put it like this one.

10
00:00:39,320 --> 00:00:43,010
And we have, let's say a name field or I mean email.

11
00:00:43,220 --> 00:00:48,650
As soon as you're typing something to the field, this event handler will be okay or triggered.

12
00:00:48,710 --> 00:00:52,430
So such as when a user type in into a test field.

13
00:00:52,430 --> 00:01:00,080
Next we are going to be on submit and this is called when a form is submitted and one click is called

14
00:01:00,080 --> 00:01:06,830
when an element is being clicked, these two are pertaining to form handling and this one going to be

15
00:01:06,830 --> 00:01:07,750
any event handler.

16
00:01:07,750 --> 00:01:08,630
I want the trigger.

17
00:01:08,720 --> 00:01:14,390
So the next video, you have a look at how we can listen to events.

