This Is How You Handle Events In A React App
Sam Meech-Ward Sam Meech-Ward
128K subscribers
5,176 views
199

 Published On Sep 15, 2022

Learn how to handle events like button clicks and form submissions in a react app.

I'll cover things like Adding event handlers, Passing event handlers as props, and Preventing default behavior.


This is video #5 in my react series:

#4 Rendering a List of Components:    • Rendering a List of Components in React  
#6 useState:    • React Hooks: useState  

Chapters:
0:00​ Intro
0:34 button onClick
2:03 form onSubmit
3:33 input onChange
4:47 inline arrow functions
5:29 events in child components
8:27 Summary

Code:
https://www.sammeechward.com/event-li...

Join this channel to get access to perks:
   / @sammeechward  

🔗Moar Links
My Website: https://www.sammeechward.com
Instagram:   / meech_ward  
Twitter:   / meech_ward  
Github: https://github.com/orgs/Sam-Meech-Ward

show more

Share/Embed