All useEffect Mistakes Every Junior React Developer Makes
Vložit
- čas přidán 1. 06. 2024
- Learn React useEffect hook from scratch. React useEffect tutorial beginner to advanced. useEffect best practices. Clean up, lifecycle, and rendering problems.
For more projects you can support Lama Dev:
Join: / @lamadev
Buy me a coffee: www.buymeacoffee.com/lamadev
Join Lama Dev groups
Facebook: / lamadev
Instagram: / lamawebdev
Discord: / discord
Twitter: / lamawebdev
Source Code: github.com/safak/youtube2022/...
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 - Věda a technologie
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 CZcams would allow, I would like this video 10 times!
Продолжай работать в том же духе с 0-ми познаниями в JS, это прекрасно
Weird because after 2 months I don't???
Really cool😊
@@vapeurdepisse Congratulations, you can pick up your trophy at the corner of who gives an F parkway and totally pointless flex avenue.
@@artmax1998 О здарова, американский ютуб знает толк
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 !
Would you say that only juniors watch these types of videos?
All the juniors in my team know by heart the count and setTimeout example because it's a common interview question. But when you ask them to demo global state they gg. One guy just left the interview...
@@kynshra8960 ya that was a catch
@@ionitaa you interview people that are already on your team?
@@vapeurdepisse What? At the tech interview, 2 of the codepens we give candidates for junior positions are:
1. The useState and setTimeout question. Most people get it right.
2. A quick demo on how to share state acros a component tree. Most people give up or just give bad solutions to this.
You don't have to get all code pens right to get hired...
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.
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 :)
Very good explanation. useEffect is always intimidating! Keep doing the intermediate level help videos!
What do you mean by intermediate isn't useEffect one of the basic react hooks?
@@Isaac-eh6uu yes but to use react in a way that won’t burn a user’s computer you must use convoluted tricks for the hope that you render only 300 times
@@Isaac-eh6uu I wouldnt call useEffect a basic hook. Its the hardest hook for people to understand.
@@Isaac-eh6uu I watched at least 5 tutorials about use effect , still cannot wrap my head around it. So, yes , I would
call it basic
wanted to say. " I wouldn't"
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
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
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.
I really love your tutorial mate , keep going and i wish you best of luck ❤️ from Algeria 🇩🇿
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
This has answered many questions I had about this particular hook. Thanks so much for the great content!
For the first time I understood useEffect clean up. As always lama dev simplified everything. Thank you so much
It was a perfect description of the React hooks I have ever seen. Thank you so much!
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!!!
Thanks for the refresher. You do a great job explaining concepts.
Top-notch presentation, with a clear explanation of the pitfalls when working with useEffect
Another much needed video ❤️
Fetch API vs separate folder for API calls( as we used in our Netflix project)
Beautifully explained. This will be my go-to channel now.
Man you're so good at explaining these concepts, thanks! You're videos are always great!
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
Omg. You are the best man. Cleanest explanation ever. We need every hook tutorial from you.
Beautiful! Thank you! Especially thanks for showing me how to write the clean up function. As well as the api clean up.
Every react developer on youtube create a value for us but there is some especially who totally change the way how to actually works in React You're the one of them Thanks and great. honestly, i don't know about your channel but i just on the recommendation of youtube. complete the 2 min i just realise oo my god what a man and his concepts
you are so amazing....I just never seen an explanation so clean and easy to follow...thank you and keep up the good work
Oh wow. This is by far the best guide on useEffect. I have been working with react for well over a year now still gotcha when it comes to useEffect. This enhanced my understanding. Thank you.
Maybe another guide on other React hooks?
Sir , you are great !!!!!!!
Please continue this series 🙏❣️
Great Video 💯
This is my first time commenting on a CZcams video because this video really deserves it 😊
Definitely going to watch other react videos.
Such a good explanation and example. I've never seen someone explain react hook that easily and it's use cases
Been working with react for a while now and you just demystified a lot
your explanation on "subscribing to api" was very good, earlier i seen it in react docs and had no understanding what it meant, thanks
Amazingly easy to comprehend! Good examples and explanation :)
This video is just a precious 22mins in my career growth, these kind of detailed information just increases my confidence and thankyou for you to for creating such a great content 🔥
This was the best tutorial I ever found for useEffect, very thoroughly explained.
I practice from the thumbnail before even watching the video, and it worked, bro you've save me. Thanks buddy much love. God bless you.
This one of the best usseEffect explanations I've seen. Thank you Lama Dev 🙏🏻
Hey Lama Dev, Awesome video. Could you do one on useCallback and how they relate with useEffect or just how to minimize alot of rerenders on your application
You explained really well, thanks for this refresher!
I'm so grateful I clicked on the video... Never new about that cancellation of request
It's an amazing tutorial and I can find answers lots of questions the interviewer asked me regarding useEffect during interview
Friday's are for tutorials and Docs, combining these two helps you leverage on your coding skills. I fell in love with these useEffect best practices. Good video lad
loved this explanation man.. loads of love for your efforts
The best guide for useEffect I’ve watched so far. Super helpful!
Thank you Lama Dev, very helpful and enlightening video!
Full video very informative. And useEffect in the api section is very much helpful. I was struggling with that finally that solved by you for me. Thanks man. Subscribed.
Nice tutorial! Thank you very much! As a beginner React dev it clarified a few things for me! Keep it up mate! :)
Thank you! You explained it very well. Learned a lot.
Subscribed! Very helpful, thankyou!
Dude, this is simply, the best video about useEffect that i have already seen in all of my life. Thank you so much!
This is so informative, as a beginner I do respect what you done in this instruction!!🎉
This one is actually a deep dive into understanding useEffect hook. Amazing video
very concise explanation once again! Thank you so much. Learning a lot from your videos :D
Explained very well. Learnt one or two things about useEffect and that fetching will help me improve my react skills more. Thanks 😃.
Congrats from Brazil!
Best explanation about react performing !
Amazing video i rarely comment on videos but it was an amazing video. thank you for this effort
I hope you can also explain the following topics also
1) Using a callback in the useeffect
2) The problem faced in forms when the state is one render behind the text entered in the input field.
I think this is the most effective explanation I've ever experienced!
For sure is the best explanation about UseEffect what I had seen. Congratz
I noticed and watched the video today, it was the great present for my birthday)) thanks a lot Lama dev
thank God I'm lucky enough to explore your channel
thank you so much for your great explanation and the good examples ❤️
this is amazing, very detail explaination on how useEffect works!, you deserve more viewer and subscriber
One of the best explanations! Keep on doing!
Only one thing is that useEffect is not lifecycle method anymore, it is synchronization method.
Wow that was super informative! Thanks for clearing that up :)
This video was so helpful to know how to use useEffect properly for the person who just started learning React like me!! Thanks man
Thanks a lot, Safak. This was a great help to understand, some of the weird parts of useEffect.
amazing!!!! keep doing videos like that. Today i used you video for developing and it was useful. Please keep doing it. Good Job.
This is really a nice video on useEffect. Liked & subbed, Thanks.
This was incredible! Thank you very much! I've completed a React course on Udemy, coded on my own after that and still learned something in the video! I love how you explained everything so simply,. I switched to Angular for my new personal project, but this makes me want to try making something in React again :)
Sir, You are one of my favorite pedagogue... I always wait for your video
Thank you for explaining this thoroughly!
Thanks for the video ! Very Informative
Amazing video on useeffect. Thank you!
very clear explanation! thx
the most helpful video on useEffect !!! Well Done!!!👍👍👍👍
For an experienced Backend Developer with some basic Front End knowledge, this just covered most of what I need to know in React to start out.
So clear to understand. Many thanks
This is all so very useful, thank you!
excellent professional video, v good learning, eye opener, thanks
Man this was extremely helpful content, thanks a ton for this amazingly informative video. Really helpful! :)
This is probably the best useEffect explaination i've ever seen !
as expected ur work is great man. we r waiting for useRef , useMemo in more detail
Love you, man! Forte abraço do Brasil!!!
God bless you!
Amazing. I'm a new subscriber to your channel. Thanks for your content man, It really helps me a lot.
Thanks for sharing valuable best practices!
This is just amazing, thank you so much!
I learnt a lot, thank you very much!
You have done a great job. I appreciate your efforts, and learned a lot.
Superb video ,thank you
I am junior react developer still learning from Udemy and this was quiet needed. Thanks
amazing video! i really learned so much from this video. THX!
many thanks! you changed my development completely
Thanks, very informative tutorial!
🙏. your video is probably the only one that has a very beautiful explanation of useEffect. Thank you
Thank you so much! It really helped me.
Very interesting video ! Thank you so much
I want moreeee!! If this was for beginners I'm curious what I'd learn for advanced developers because I learnt so much from this!
Such a great guide! Thanks 8)
Amazing man, you explaination give high value... This is the result of great experience and understanding
Thanks for sharing your knowledge, appreciate it brother✨🖤, thank u so much
Great video bro. I like your work, you showed how it done in professional way. Thank you. :)
Really well made video, thanks a lot