New React useEffectEvent Hook Crash Course
Web Dev Simplified
FREE React Hooks Simplified Course: https://courses.webdevsimplified.com/react-hooks-simplified
The newest React hook, useEffectEvent, is a really unique and interesting hook that make working with useEffect much easier. This is because it allows you to use variables, state, and props in your useEffect without having to declare them as dependencies for your useEffect.
š Materials/References:
FREE React Hooks Simplified Course: https://courses.webdevsimplified.com/react-hooks-simplified
š Find Me Here:
My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified
ā±ļø Timestamps:
00:00 - Introduction 00:25 - Setup 01:12 - Why Use useEffectEvent 04:02 - useEffectEvent Explained 06:36 - Common Mistakes
#useEffectEvent #WDS #ReactJS ... https://www.youtube.com/watch?v=NZJUEzn10FI
71335163 Bytes