React Hooks: useEffect - Everything You Need To Know

Sam Meech-Ward • September 29, 2022
Video Thumbnail
Sam Meech-Ward Logo

Sam Meech-Ward

@sammeechward

About

I make things with code and I teach other people how to do the same. I created this channel to share some of my creations and teach people about programming and making.

Video Description

Learn everything you need to know about the useEffect hook and side effects in a react app. Code Examples: https://smw.wtf/useeffect-everything-you-need-to-know This is video #10 in my react series: #9 Conditional Rendering Components in React: https://youtu.be/xRKvjWDZlW8 #11 Fetching and Posting Data in React: https://youtu.be/Mokoo0mVEAU Join this channel to get access to perks: https://www.youtube.com/channel/UC6aTLuI_j4-0wiDSzmaPctQ/join Chapters 0:00 Intro 0:27 Component Lifecycle 2:26 Side Effects 6:52 useEffect 13:03 Dependency Array 17:34 [] componentDidMount 23:45 Cleanup Functions 25:59 Dependency Props 29:50 Battery Status Component 32:32 Event Listeners 34:53 async useEffect 39:14 Custom Hooks 40:21 async await 42:19 Summary 🔗Moar Links My Website: https://www.sammeechward.com Instagram: https://www.instagram.com/meech_ward Twitter: https://twitter.com/Meech_Ward Github: https://github.com/orgs/Sam-Meech-Ward

You May Also Like