React useEffect Hook tutorial | Learn ReactJS

Published: 09 July 2021
on channel: Dave Gray
28,401
902

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

In this React useEffect hook tutorial, you will learn how to determine when the useEffect hook is called into action with React. You will also learn how to load and save data with the useEffect hook and how to avoid the biggest useEffect hook mistake.

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

🚀 This lesson is part of a Learn React tutorial series playlist:
   • React Tutorials  

🔗 Source Code: https://github.com/gitdagray/react_us...

React useEffect Hook tutorial | Learn ReactJS

(00:00) Intro
(00:05) Set up
(00:53) useEffect hook with no dependencies
(01:46) useEffect hook at app load
(02:51) useEffect hook only when a dependency changes
(03:55) useEffect is not synchronous
(05:32) Loading data with useEffect
(06:40) Avoid this BIG mistake with useEffect
(07:10) Avoiding a loading error with useState
(08:55) Saving data with useEffect

🔗 ES7 React JS Snippets Extension for VS Code:
https://marketplace.visualstudio.com/...

🔗 React Dev Tools Extension for Chrome:
https://chrome.google.com/webstore/de...

🔗 Styled Components: https://styled-components.com/

📚 References:
ReactJS Official site: https://reactjs.org/
React Wikipedia: https://en.wikipedia.org/wiki/React_(...)
React Jobs: https://www.ziprecruiter.com/candidat...

✅ Follow Me:
Twitter:   / yesdavidgray  
LinkedIn:   / davidagray  
Blog: https://yesdavidgray.com
Reddit:   / daveoneleven  

Was this tutorial about the useEffect hook in React JS helpful? If so, please share. Let me know your thoughts in the comments.

#react #useeffect #hook


On this page of the site you can watch the video online React useEffect Hook tutorial | Learn ReactJS with a duration of hours minute second in good quality, which was uploaded by the user Dave Gray 09 July 2021, share the link with friends and acquaintances, this video has already been watched 28,401 times on youtube and it was liked by 902 viewers. Enjoy your viewing!