Full React Course: https://courses.webdevsimplified.com/learn-react-today

In this video I cover everything you need to know about the useLayoutEffect hook. I also compare useLayoutEffect to useEffect so you can know when to use which hook.


Materials/References:

Full React Course: https://courses.webdevsimplified.com/learn-react-today
useLayoutEffect Article: https://blog.webdevsimplified.com/2020-07/use-layout-effect
useEffect Video: https://youtu.be/0ZJgIjIuY7U
useEffect Article: https://blog.webdevsimplified.com/2020-04/use-effect


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:30 - useLayoutEffect vs useEffect
02:19 - When to use useLayoutEffect


#ReactJs #WDS #useLayoutEffect