Events Flashcards

1
Q

How to you pass an event handler to a React component?

A

props

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you add custom event handlers to a React component?

A

pass the props down as values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the naming convention for custom event handlers?

A

capital letter in front

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some custom events a component may expose?

A

handleClick, CustomClick

How well did you know this?
1
Not at all
2
3
4
5
Perfectly