All useEffect Mistakes Every Junior React Developer Makes
900,103
Published 2022-08-10
For more projects you can support Lama Dev:
Join: youtube.com/channel/UCOxWrX5MIdXIeRNaXC3sqIg/join
Buy me a coffee: www.buymeacoffee.com/lamadev
Join Lama Dev groups
Facebook: www.facebook.com/groups/lamadev
Instagram: www.instagram.com/lamawebdev
Discord: discord.gg/yKremu4mPr
Twitter: twitter.com/lamawebdev
Source Code: github.com/safak/youtube2022/tree/useEffect
0:00 Understanding useEffect
04:10 useEffect Dependency Mistakes
09:39 useEffect Updating State Correctly
10:58 useEffect Clean-up Functions Explained
13:50 Best Ways to Make API Requests with useEffect
All Comments (21)
-
I work professionally with React for more than 5 years and still regularly fall into these traps. Understanding these concepts is essential, and this video explains them perfectly. If YouTube would allow, I would like this video 10 times!
-
I've realy never seen any one who explains React hooks so well and all it's possible uses as well as what mistakes to avoid, This kind of knowledge is really what we are missing as junior developers, And i realy appreciate the effort man Thanks !
-
I wish I had found this tutorial earlier. You have explained all the details of one of the most important hooks in a really intuitive manner ! Great work :)
-
This is by far the most helpful react video I've ever seen, cleared up a ton of questions I had about strict mode and effect hooks
-
Great explainable video, thank you! Only a sneak peek about Axios. Since v0.22.0 we can use the AbortController passing the signal as an option rather than CancelToken as it is deprecated in new versions.:goodvibes:
-
Very useful, I was searching for these frequently, and you have grouped it together in one video, thanks a lot!
-
I have never heard a better explanation. Very clear, simple, many examples. Immediately subscribed to the channel
-
Köszönöm szépen, a megfelelő tudást kaptam, pont annyira kifejtve, amennyire szükséges és tisztázódott a fejemben sok misztikum.
-
Your method of explanations are second to none Lama Dev! Thank you so much… Suggestion for next tutorial… useReducer vs useState, I can’t seem to get enough explanations for them
-
It was a perfect description of the React hooks I have ever seen. Thank you so much!
-
For the first time I understood useEffect clean up. As always lama dev simplified everything. Thank you so much
-
Thanks for the refresher. You do a great job explaining concepts.
-
This has answered many questions I had about this particular hook. Thanks so much for the great content!
-
Beautifully explained. This will be my go-to channel now.
-
Top-notch presentation, with a clear explanation of the pitfalls when working with useEffect
-
You're really the best. A good teacher indeed. Your videos are clearly explained and hands on practice. Thanks a bunch for all you do. Bless you!!!
-
Omg. You are the best man. Cleanest explanation ever. We need every hook tutorial from you.
-
Been working with react for a while now and you just demystified a lot
-
Such a good explanation and example. I've never seen someone explain react hook that easily and it's use cases
-
Após 1 ano de estudo só agora entendi com o não ter problemas com useEffect. O clean-up ajudou de mais Vlw @Lama Dev