Тёмный

All useEffect Mistakes Every Junior React Developer Makes 

Lama Dev
Подписаться 306 тыс.
Просмотров 888 тыс.
50% 1

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

Наука

Опубликовано:

 

12 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 599   
@sergeylukin8740
@sergeylukin8740 Год назад
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 RU-vid would allow, I would like this video 10 times!
@artmax1998
@artmax1998 Год назад
Продолжай работать в том же духе с 0-ми познаниями в JS, это прекрасно
@vapeurdepisse
@vapeurdepisse Год назад
Weird because after 2 months I don't???
@bokyunggg
@bokyunggg Год назад
Really cool😊
@Investigamer
@Investigamer Год назад
@@vapeurdepisse Congratulations, you can pick up your trophy at the corner of who gives an F parkway and totally pointless flex avenue.
@theway_up
@theway_up Год назад
@@artmax1998 О здарова, американский ютуб знает толк
@ramiov3862
@ramiov3862 Год назад
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 !
@kynshra8960
@kynshra8960 Год назад
Would you say that only juniors watch these types of videos?
@ionitaa
@ionitaa Год назад
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...
@GagandeepSingh1984
@GagandeepSingh1984 Год назад
@@kynshra8960 ya that was a catch
@vapeurdepisse
@vapeurdepisse Год назад
@@ionitaa you interview people that are already on your team?
@ionitaa
@ionitaa Год назад
​@@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...
@jashgopani32
@jashgopani32 Год назад
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 :)
@johnbaquerocelis8148
@johnbaquerocelis8148 Год назад
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.
@yoJuicy
@yoJuicy Год назад
Very good explanation. useEffect is always intimidating! Keep doing the intermediate level help videos!
@Isaac-eh6uu
@Isaac-eh6uu Год назад
What do you mean by intermediate isn't useEffect one of the basic react hooks?
@feritperliare2890
@feritperliare2890 Год назад
@@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
@CapeSkill
@CapeSkill Год назад
@@Isaac-eh6uu I wouldnt call useEffect a basic hook. Its the hardest hook for people to understand.
@justnaika
@justnaika Год назад
@@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
@justnaika
@justnaika Год назад
wanted to say. " I wouldn't"
@mykalesalad
@mykalesalad Год назад
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
@chizidotdev
@chizidotdev Год назад
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
@leo-phiponacci
@leo-phiponacci Год назад
Very useful, I was searching for these frequently, and you have grouped it together in one video, thanks a lot!
@Corntrop
@Corntrop Год назад
For the first time I understood useEffect clean up. As always lama dev simplified everything. Thank you so much
@marctofan824
@marctofan824 Год назад
I have never heard a better explanation. Very clear, simple, many examples. Immediately subscribed to the channel
@arnoczkyzoltan6158
@arnoczkyzoltan6158 Год назад
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.
@abdullahbelkaid1684
@abdullahbelkaid1684 Год назад
I really love your tutorial mate , keep going and i wish you best of luck ❤️ from Algeria 🇩🇿
@amirjafari7996
@amirjafari7996 Год назад
It was a perfect description of the React hooks I have ever seen. Thank you so much!
@coder5336
@coder5336 Год назад
Omg. You are the best man. Cleanest explanation ever. We need every hook tutorial from you.
@softmerit25
@softmerit25 Год назад
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!!!
@hesoncontroler
@hesoncontroler Год назад
Thanks for the refresher. You do a great job explaining concepts.
@zararashraf
@zararashraf 11 месяцев назад
Beautifully explained. This will be my go-to channel now.
@wittyhumour29
@wittyhumour29 10 месяцев назад
Top-notch presentation, with a clear explanation of the pitfalls when working with useEffect
@byronk5
@byronk5 Год назад
This has answered many questions I had about this particular hook. Thanks so much for the great content!
@xacxdcx
@xacxdcx Год назад
Man you're so good at explaining these concepts, thanks! You're videos are always great!
@cortaesai
@cortaesai Год назад
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
@nitinravi8400
@nitinravi8400 Год назад
Beautiful! Thank you! Especially thanks for showing me how to write the clean up function. As well as the api clean up.
@user-du9mu9ni5k
@user-du9mu9ni5k 9 месяцев назад
Been working with react for a while now and you just demystified a lot
@nobir98
@nobir98 Год назад
Such a good explanation and example. I've never seen someone explain react hook that easily and it's use cases
@zeeshanalikhan8258
@zeeshanalikhan8258 Год назад
This was the best tutorial I ever found for useEffect, very thoroughly explained.
@Mauna25
@Mauna25 Год назад
Amazingly easy to comprehend! Good examples and explanation :)
@vinaypatil8009
@vinaypatil8009 Год назад
Sir , you are great !!!!!!! Please continue this series 🙏❣️
@shobhit4935
@shobhit4935 Год назад
you are so amazing....I just never seen an explanation so clean and easy to follow...thank you and keep up the good work
@farzeenzehra4892
@farzeenzehra4892 Год назад
Great Video 💯 This is my first time commenting on a RU-vid video because this video really deserves it 😊 Definitely going to watch other react videos.
@philipmwangi5270
@philipmwangi5270 Год назад
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
@dr.science9609
@dr.science9609 Год назад
Another much needed video ❤️ Fetch API vs separate folder for API calls( as we used in our Netflix project)
@ky3ow
@ky3ow Год назад
your explanation on "subscribing to api" was very good, earlier i seen it in react docs and had no understanding what it meant, thanks
@morgandid
@morgandid 10 месяцев назад
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.
@user-rv3ci7qs2k
@user-rv3ci7qs2k Год назад
I think this is the most effective explanation I've ever experienced!
@timothypark1037
@timothypark1037 Год назад
very concise explanation once again! Thank you so much. Learning a lot from your videos :D
@junaifcp3662
@junaifcp3662 Год назад
It's an amazing tutorial and I can find answers lots of questions the interviewer asked me regarding useEffect during interview
@antonioquintero-felizzola5334
This one of the best usseEffect explanations I've seen. Thank you Lama Dev 🙏🏻
@JulianHarris
@JulianHarris Год назад
The best guide for useEffect I’ve watched so far. Super helpful!
@artogrulturkmen
@artogrulturkmen Год назад
I noticed and watched the video today, it was the great present for my birthday)) thanks a lot Lama dev
@rdalago
@rdalago Год назад
Thank you! You explained it very well. Learned a lot.
@voldemore6300
@voldemore6300 Год назад
This is so informative, as a beginner I do respect what you done in this instruction!!🎉
@meaningmean
@meaningmean 11 месяцев назад
You explained really well, thanks for this refresher!
@rishabhunlocked2693
@rishabhunlocked2693 Год назад
loved this explanation man.. loads of love for your efforts
@SankalpSachan-ky5ic
@SankalpSachan-ky5ic Год назад
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 🔥
@williamch3n
@williamch3n Год назад
Thank you Lama Dev, very helpful and enlightening video!
@guyfrancoisdeclaudenkouka1014
This is probably the best useEffect explaination i've ever seen !
@karylchesman2475
@karylchesman2475 Год назад
Dude, this is simply, the best video about useEffect that i have already seen in all of my life. Thank you so much!
@sahil-ld1bu
@sahil-ld1bu Год назад
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
@abhisheksharma1031
@abhisheksharma1031 6 месяцев назад
This one is actually a deep dive into understanding useEffect hook. Amazing video
@oliahmed609
@oliahmed609 Год назад
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.
@rockfox5
@rockfox5 Год назад
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?
@amitchaudhari9618
@amitchaudhari9618 Год назад
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.
@ryuavincaux
@ryuavincaux Год назад
Subscribed! Very helpful, thankyou!
@ashutoshpanda4336
@ashutoshpanda4336 Год назад
I'm so grateful I clicked on the video... Never new about that cancellation of request
@crowbr
@crowbr Год назад
For sure is the best explanation about UseEffect what I had seen. Congratz
@juliosalas1010
@juliosalas1010 Год назад
Flawless! This video deserves much more views man.
@webhook4729
@webhook4729 Год назад
Sir, You are one of my favorite pedagogue... I always wait for your video
@hammadiazaiez9337
@hammadiazaiez9337 Год назад
thank God I'm lucky enough to explore your channel thank you so much for your great explanation and the good examples ❤️
@chasesim8638
@chasesim8638 Год назад
This video was so helpful to know how to use useEffect properly for the person who just started learning React like me!! Thanks man
@cakitomakito3979
@cakitomakito3979 Год назад
amazing video! i really learned so much from this video. THX!
@maxwelochieng7658
@maxwelochieng7658 Год назад
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
@Rick-pz1ju
@Rick-pz1ju Год назад
Congrats from Brazil! Best explanation about react performing !
@Harry-jl1fi
@Harry-jl1fi Год назад
Man this was extremely helpful content, thanks a ton for this amazingly informative video. Really helpful! :)
@Kiakayemen
@Kiakayemen Год назад
the most helpful video on useEffect !!! Well Done!!!👍👍👍👍
@dreb.7760
@dreb.7760 Год назад
This is all so very useful, thank you!
@badarmughal2297
@badarmughal2297 Год назад
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.
@garikmelqonyan9130
@garikmelqonyan9130 Год назад
Thanks a lot, Safak. This was a great help to understand, some of the weird parts of useEffect.
@pallaviph8878
@pallaviph8878 Год назад
Amazing video on useeffect. Thank you!
@refeez3700
@refeez3700 Год назад
Nice tutorial! Thank you very much! As a beginner React dev it clarified a few things for me! Keep it up mate! :)
@peacecoder
@peacecoder Год назад
as expected ur work is great man. we r waiting for useRef , useMemo in more detail
@aaron7c
@aaron7c Год назад
Wow that was super informative! Thanks for clearing that up :)
@iammdsameer
@iammdsameer Год назад
Wow! this content is so high quality. Definitely worth the time.
@souvikgayen7424
@souvikgayen7424 Год назад
Thank you for explaining this thoroughly!
@mozahedulislam1987
@mozahedulislam1987 Год назад
You have done a great job. I appreciate your efforts, and learned a lot.
@SmartWizzard
@SmartWizzard Год назад
This is video is a life saver for anyone in productions keep it Lama :)
@mihirshinde4268
@mihirshinde4268 Год назад
Thanks for the video ! Very Informative
@samarpitsantoki
@samarpitsantoki Год назад
Explained very well. Learnt one or two things about useEffect and that fetching will help me improve my react skills more. Thanks 😃.
@RoGu3YT
@RoGu3YT Год назад
This is really a nice video on useEffect. Liked & subbed, Thanks.
@nav.r
@nav.r Год назад
🙏. your video is probably the only one that has a very beautiful explanation of useEffect. Thank you
@oerbyy
@oerbyy 10 месяцев назад
Such a great guide! Thanks 8)
@morphine496
@morphine496 Год назад
I can't thank you enough! God knows how many times I fetched data with useEffect in a wrong way.
@hemashah7031
@hemashah7031 9 месяцев назад
excellent professional video, v good learning, eye opener, thanks
@athoangtien7898
@athoangtien7898 Год назад
So clear to understand. Many thanks
@luizarnoldchavezburgos3638
@luizarnoldchavezburgos3638 Год назад
amazing!!!! keep doing videos like that. Today i used you video for developing and it was useful. Please keep doing it. Good Job.
@justinjoker8060
@justinjoker8060 Год назад
many thanks! you changed my development completely
@viniciusm.m.7822
@viniciusm.m.7822 Год назад
Love you, man! Forte abraço do Brasil!!! God bless you!
@dravidjones8447
@dravidjones8447 Год назад
Thank you so much! It really helped me.
@sonvu7896
@sonvu7896 Год назад
this is amazing, very detail explaination on how useEffect works!, you deserve more viewer and subscriber
@arventures6181
@arventures6181 Год назад
Great video bro. I like your work, you showed how it done in professional way. Thank you. :)
@rajatpatel1817
@rajatpatel1817 11 месяцев назад
This is some great quality contents. 👍🏻
@mamapop
@mamapop Год назад
Such an amazing tutorial! thanks a lot!
@harshhandoo1971
@harshhandoo1971 Год назад
this is so far the best react tutorial. Kudos
@skor3653
@skor3653 Год назад
Thanks, very informative tutorial!
@xavierpierre5586
@xavierpierre5586 Год назад
Amazing man, you explaination give high value... This is the result of great experience and understanding
@girijashankarj
@girijashankarj Год назад
I really appreciate the use cases examples
@ahmadmajed4355
@ahmadmajed4355 Год назад
Keep going like this stuff of videos !! Very helpfull Thank you so mush
@alirava9865
@alirava9865 Год назад
I learnt a lot, thank you very much!
@umdi3337
@umdi3337 11 месяцев назад
Most useful video I have watched about React.
@codefacileWK
@codefacileWK Год назад
Very interesting video ! Thank you so much
@done1341
@done1341 Год назад
Thanks for sharing valuable best practices!
Далее
6 State Mistakes Every Junior React Developer Makes
15:53
skibidi cat pedro 🐈🔥  #skibiditoilet
00:20
Просмотров 2 млн
Arcane Season 2 | Official Teaser Trailer
01:32
Просмотров 3,4 млн
He is liars
00:45
Просмотров 1,2 млн
You might not need useEffect() ...
21:45
Просмотров 149 тыс.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Top 6 React Hook Mistakes Beginners Make
21:18
Просмотров 559 тыс.
The Most Important Skill You Never Learned
34:56
Просмотров 122 тыс.
Learn React useReducer Hook with Examples
14:19
Просмотров 167 тыс.
CSS Tips And Tricks I Wish I Knew Before
12:12
Просмотров 430 тыс.
5 Pro-Level React Do's & Don'ts
30:06
Просмотров 174 тыс.
Apple watch hidden camera
0:34
Просмотров 59 млн
iPhone 12 socket cleaning #fixit
0:30
Просмотров 30 млн