All useEffect Mistakes Every Junior React Developer Makes

  Рет қаралды 901,746

Lama Dev

Lama Dev

Күн бұрын

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

Пікірлер: 600
@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 KZbin 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 О здарова, американский ютуб знает толк
@it-series-music
@it-series-music 2 жыл бұрын
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 :)
@ramiov3862
@ramiov3862 2 жыл бұрын
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 2 жыл бұрын
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...
@johnbaquerocelis8148
@johnbaquerocelis8148 2 жыл бұрын
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.
@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.
@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
@leo-phiponacci
@leo-phiponacci Жыл бұрын
Very useful, I was searching for these frequently, and you have grouped it together in one video, thanks a lot!
@marctofan824
@marctofan824 2 жыл бұрын
I have never heard a better explanation. Very clear, simple, many examples. Immediately subscribed to the channel
@chizidotdev
@chizidotdev 2 жыл бұрын
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
@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!!!
@byronk5
@byronk5 Жыл бұрын
This has answered many questions I had about this particular hook. Thanks so much for the great content!
@amirjafari7996
@amirjafari7996 Жыл бұрын
It was a perfect description of the React hooks I have ever seen. Thank you so much!
@hesoncontroler
@hesoncontroler Жыл бұрын
Thanks for the refresher. You do a great job explaining concepts.
@nitinravi8400
@nitinravi8400 Жыл бұрын
Beautiful! Thank you! Especially thanks for showing me how to write the clean up function. As well as the api clean up.
@wittyhumour29
@wittyhumour29 11 ай бұрын
Top-notch presentation, with a clear explanation of the pitfalls when working with useEffect
@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
@nobir98
@nobir98 Жыл бұрын
Such a good explanation and example. I've never seen someone explain react hook that easily and it's use cases
@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
@coder5336
@coder5336 2 жыл бұрын
Omg. You are the best man. Cleanest explanation ever. We need every hook tutorial from you.
@yoJuicy
@yoJuicy 2 жыл бұрын
Very good explanation. useEffect is always intimidating! Keep doing the intermediate level help videos!
@feritperliare2890
@feritperliare2890 2 жыл бұрын
@Isaac 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 I wouldnt call useEffect a basic hook. Its the hardest hook for people to understand.
@justnaika
@justnaika Жыл бұрын
@Isaac 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"
@Corntrop
@Corntrop 2 жыл бұрын
For the first time I understood useEffect clean up. As always lama dev simplified everything. Thank you so much
@zararashraf
@zararashraf Жыл бұрын
Beautifully explained. This will be my go-to channel now.
@xacxdcx
@xacxdcx Жыл бұрын
Man you're so good at explaining these concepts, thanks! You're videos are always great!
@vinaypatil8009
@vinaypatil8009 2 жыл бұрын
Sir , you are great !!!!!!! Please continue this series 🙏❣️
@farzeenzehra4892
@farzeenzehra4892 Жыл бұрын
Great Video 💯 This is my first time commenting on a KZbin video because this video really deserves it 😊 Definitely going to watch other react videos.
@Mauna25
@Mauna25 Жыл бұрын
Amazingly easy to comprehend! Good examples and explanation :)
@junaifcp3662
@junaifcp3662 2 жыл бұрын
It's an amazing tutorial and I can find answers lots of questions the interviewer asked me regarding useEffect during interview
@user-du9mu9ni5k
@user-du9mu9ni5k 11 ай бұрын
Been working with react for a while now and you just demystified a lot
@ky3ow
@ky3ow 2 жыл бұрын
your explanation on "subscribing to api" was very good, earlier i seen it in react docs and had no understanding what it meant, thanks
@artogrulturkmen
@artogrulturkmen Жыл бұрын
I noticed and watched the video today, it was the great present for my birthday)) thanks a lot Lama dev
@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?
@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 🔥
@mamapop
@mamapop Жыл бұрын
Such an amazing tutorial! thanks a lot!
@zeeshanalikhan8258
@zeeshanalikhan8258 Жыл бұрын
This was the best tutorial I ever found for useEffect, very thoroughly explained.
@rishabhunlocked2693
@rishabhunlocked2693 Жыл бұрын
loved this explanation man.. loads of love for your efforts
@meaningmean
@meaningmean Жыл бұрын
You explained really well, thanks for this refresher!
@rdalago
@rdalago 2 жыл бұрын
Thank you! You explained it very well. Learned a lot.
@dr.science9609
@dr.science9609 2 жыл бұрын
Another much needed video ❤️ Fetch API vs separate folder for API calls( as we used in our Netflix project)
@timothypark1037
@timothypark1037 2 жыл бұрын
very concise explanation once again! Thank you so much. Learning a lot from your videos :D
@hemashah7031
@hemashah7031 11 ай бұрын
excellent professional video, v good learning, eye opener, thanks
@antonioquintero-felizzola5334
@antonioquintero-felizzola5334 2 жыл бұрын
This one of the best usseEffect explanations I've seen. Thank you Lama Dev 🙏🏻
@mihirshinde4268
@mihirshinde4268 Жыл бұрын
Thanks for the video ! Very Informative
@philipmwangi5270
@philipmwangi5270 2 жыл бұрын
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
@voldemore6300
@voldemore6300 Жыл бұрын
This is so informative, as a beginner I do respect what you done in this instruction!!🎉
@hammadiazaiez9337
@hammadiazaiez9337 Жыл бұрын
thank God I'm lucky enough to explore your channel thank you so much for your great explanation and the good examples ❤️
@williamch3n
@williamch3n Жыл бұрын
Thank you Lama Dev, very helpful and enlightening video!
@JulianHarris
@JulianHarris Жыл бұрын
The best guide for useEffect I’ve watched so far. Super helpful!
@garikmelqonyan9130
@garikmelqonyan9130 2 жыл бұрын
Thanks a lot, Safak. This was a great help to understand, some of the weird parts of useEffect.
@RoGu3YT
@RoGu3YT Жыл бұрын
This is really a nice video on useEffect. Liked & subbed, Thanks.
@athoangtien7898
@athoangtien7898 Жыл бұрын
So clear to understand. Many thanks
@BSK_Rick
@BSK_Rick Жыл бұрын
Congrats from Brazil! Best explanation about react performing !
@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.
@samarpitsantoki
@samarpitsantoki 2 жыл бұрын
Explained very well. Learnt one or two things about useEffect and that fetching will help me improve my react skills more. Thanks 😃.
@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
@dreb.7760
@dreb.7760 Жыл бұрын
This is all so very useful, thank you!
@crowbr
@crowbr Жыл бұрын
For sure is the best explanation about UseEffect what I had seen. Congratz
@abdullahbelkaid1684
@abdullahbelkaid1684 2 жыл бұрын
I really love your tutorial mate , keep going and i wish you best of luck ❤️ from Algeria 🇩🇿
@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!
@user-rv3ci7qs2k
@user-rv3ci7qs2k Жыл бұрын
I think this is the most effective explanation I've ever experienced!
@Kiakayemen
@Kiakayemen Жыл бұрын
the most helpful video on useEffect !!! Well Done!!!👍👍👍👍
@badarmughal2297
@badarmughal2297 2 жыл бұрын
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.
@juliosalas1010
@juliosalas1010 Жыл бұрын
Flawless! This video deserves much more views man.
@refeez3700
@refeez3700 Жыл бұрын
Nice tutorial! Thank you very much! As a beginner React dev it clarified a few things for me! Keep it up mate! :)
@abhisheksharma1031
@abhisheksharma1031 8 ай бұрын
This one is actually a deep dive into understanding useEffect hook. Amazing video
@souvikgayen7424
@souvikgayen7424 Жыл бұрын
Thank you for explaining this thoroughly!
@pallaviph8878
@pallaviph8878 Жыл бұрын
Amazing video on useeffect. Thank you!
@chasesim8638
@chasesim8638 2 жыл бұрын
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!
@dravidjones8447
@dravidjones8447 Жыл бұрын
Thank you so much! It really helped me.
@luizarnoldchavezburgos3638
@luizarnoldchavezburgos3638 2 жыл бұрын
amazing!!!! keep doing videos like that. Today i used you video for developing and it was useful. Please keep doing it. Good Job.
@mozahedulislam1987
@mozahedulislam1987 Жыл бұрын
You have done a great job. I appreciate your efforts, and learned a lot.
@sonvu7896
@sonvu7896 2 жыл бұрын
this is amazing, very detail explaination on how useEffect works!, you deserve more viewer and subscriber
@justinjoker8060
@justinjoker8060 2 жыл бұрын
many thanks! you changed my development completely
@webhook4729
@webhook4729 2 жыл бұрын
Sir, You are one of my favorite pedagogue... I always wait for your video
@codefacileWK
@codefacileWK Жыл бұрын
Very interesting video ! 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
@yasser.dev7
@yasser.dev7 2 жыл бұрын
This is just amazing, thank you so much!
@ravisankarp61
@ravisankarp61 Жыл бұрын
Superb video ,thank you
@aaron7c
@aaron7c Жыл бұрын
Wow that was super informative! Thanks for clearing that up :)
@sergiobeltrangalvis3009
@sergiobeltrangalvis3009 Жыл бұрын
Very usefull video, thanks a lot for sharing this!
@feriduncanselen9047
@feriduncanselen9047 2 жыл бұрын
Great video mate thank you!
@adamharbi9028
@adamharbi9028 27 күн бұрын
Wow helped me so much to understad my problems. THX
@ahmadmajed4355
@ahmadmajed4355 2 жыл бұрын
Keep going like this stuff of videos !! Very helpfull Thank you so mush
@declaudefrancois
@declaudefrancois Жыл бұрын
This is probably the best useEffect explaination i've ever seen !
@captainnoyaux
@captainnoyaux 7 ай бұрын
Really well made video, thanks a lot
@nav.r
@nav.r Жыл бұрын
🙏. your video is probably the only one that has a very beautiful explanation of useEffect. Thank you
@iammdsameer
@iammdsameer Жыл бұрын
Wow! this content is so high quality. Definitely worth the time.
@fndcz197
@fndcz197 2 ай бұрын
very clear explanation! thx
@skor3653
@skor3653 Жыл бұрын
Thanks, very informative tutorial!
@Skalexsong
@Skalexsong Жыл бұрын
Very clever, thank you for the explanation
@viniciusm.m.7822
@viniciusm.m.7822 2 жыл бұрын
Love you, man! Forte abraço do Brasil!!! God bless you!
@suraay
@suraay Жыл бұрын
Really helpful, thanks very much!
@xavierpierre5586
@xavierpierre5586 2 жыл бұрын
Amazing man, you explaination give high value... This is the result of great experience and understanding
@kgetgamingentertainmenttec8243
@kgetgamingentertainmenttec8243 9 ай бұрын
Thank you very much you made it so clear
@girijashankarj
@girijashankarj Жыл бұрын
I really appreciate the use cases examples
@SmartWizzard
@SmartWizzard 2 жыл бұрын
This is video is a life saver for anyone in productions keep it Lama :)
@tayipturk1736
@tayipturk1736 Жыл бұрын
Great explanation. Thanks.
@morgandid
@morgandid 11 ай бұрын
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.
@Harry-jl1fi
@Harry-jl1fi Жыл бұрын
Man this was extremely helpful content, thanks a ton for this amazingly informative video. Really helpful! :)
@wellitsyt
@wellitsyt Жыл бұрын
Thanks for such an informative video. 🙏
6 State Mistakes Every Junior React Developer Makes
15:53
Lama Dev
Рет қаралды 265 М.
No empty
00:35
Mamasoboliha
Рет қаралды 9 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 456 М.
I can’t believe they built this in React
16:08
Theo - t3․gg
Рет қаралды 114 М.
Top 6 React Hook Mistakes Beginners Make
21:18
Web Dev Simplified
Рет қаралды 566 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Inside Google’s $2.1B Office in a Transformed Freight Terminal | WSJ Open Office
8:56
Goodbye, useEffect - David Khourshid
29:59
BeJS
Рет қаралды 497 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 155 М.
Learn React useReducer Hook with Examples
14:19
Lama Dev
Рет қаралды 172 М.
3 Beginner React Mistakes That Can Ruin Your App
20:19
Web Dev Simplified
Рет қаралды 103 М.
Сколько реально стоит ПК Величайшего?
0:37
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 949 М.
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,2 МЛН