Learn React Hooks: useCallback - Simply Explained!

  Рет қаралды 112,930

Cosden Solutions

Cosden Solutions

Күн бұрын

Пікірлер: 256
@cosdensolutions
@cosdensolutions 9 ай бұрын
Hope you enjoyed the video! I also have a really cool and unique course that will teach you way more than this video. You'll learn how to build an actual complex project with React. It's called "Project React" and you can find it at cosden.solutions/project-react. Also, I have a free weekly newsletter called "Import React" with tutorials, news, and cool stuff about React! You can sign up at cosden.solutions/newsletter?s=ytc
@heybran_
@heybran_ Жыл бұрын
Best react educator found on youtube! Agreed everyone?
@arunkaiser
@arunkaiser Жыл бұрын
I agree
@anabiatahir3772
@anabiatahir3772 Жыл бұрын
Agreed
@alidbouk4335
@alidbouk4335 Жыл бұрын
Absolutely !
@amalc7814
@amalc7814 Жыл бұрын
explains every thing in detail, crisp and clear
@prajwalpandeshwar9967
@prajwalpandeshwar9967 Жыл бұрын
Absolutely
@noahmilliken4259
@noahmilliken4259 10 ай бұрын
Props to Cosden for not bombarding us with some 15 second intro branding. Down to business, love it.
@lexsemenenko
@lexsemenenko Жыл бұрын
Clean and clear explanation with examples on what and why for us to clarify the ideas behind the hook. Again, nailed! Appreciated.
@chengxiaoxia8046
@chengxiaoxia8046 9 ай бұрын
You are a serious teacher. You tested your code truly before publishing this video, I think. I've read many articles about useCallback and their code did not work correctly coz they did not use 'memo'. Thanks so much. Your video brings us true value.
@learner8084
@learner8084 9 ай бұрын
I didn't know about the memo either ! Thanks very much.
@JakeLuden
@JakeLuden Жыл бұрын
Genuinely the best useCallback tutorial I’ve seen, probably the best video I’ve seen regarding hooks in general. Incredible explanation and demonstrations!
@cosdensolutions
@cosdensolutions Жыл бұрын
damn, thanks for saying that! Really means a lot 🤙
@atomvandermerwe3613
@atomvandermerwe3613 Жыл бұрын
I 100% agree with @Jakezaruba, this video explained it perfectly.
@SWE507
@SWE507 10 ай бұрын
This is the cleanest and clearest explanation of useCallback ever!!!
@proenglishschool3120
@proenglishschool3120 2 ай бұрын
Thank you so much Darius! I have already finished a full-stack bootcamp which covered React in 4 weeks. I already built 4 projects with React. I thought I understood it well but realized there were gaps in my knowledge. I have watched the 4th video on React Hooks and you have done an outstanding job of covering only the necessary info and without leaving anything out in about 15 minutes per hook/topic. There are some very good coding teachers on YT and the web but you are among the best on the topic of React. You make it concise, to-the-point and very easy to follow. Your videos go at a comfortable pace for someone having been over the material once already. You don't overcomplicate it and don't leave anything out. Very clear explanation. Keep up the awesome work!
@RaGa_BABA
@RaGa_BABA 9 ай бұрын
Just a small add @2:30, its not that in react functions are different, its that they are referenced type in js, very well explained, really helpful thankyou
@uquantum
@uquantum Жыл бұрын
Great video for React devs at any level. I'd forgotten that a React component that takes in a function from its parent will re-render even if the variables in that function haven't changed. Not obvious until you explained it so well. You also made it super simple and clear that useCallback memoizes a function like useMemo memoizes a variable, and that helps us minimize unnecessary re-renders.Thanks!
@cosdensolutions
@cosdensolutions Жыл бұрын
makes me happy to hear!
@lagekutsa
@lagekutsa 11 ай бұрын
you explain useCallback so simple man, really appreciate.
@whiterabbitdev
@whiterabbitdev Жыл бұрын
cheers dude, none of that "learn this in 3 minutes bs" you explain everything nice and clearly!
@ahmadbenchakhtir
@ahmadbenchakhtir 8 ай бұрын
The truth is: i watched two tutorials about UseCallback from great people talking my native language -Arabic-, but i didn't get the whole idea properly. now i do. Thank u.
@amrhesham3135
@amrhesham3135 8 ай бұрын
زيك ي حبيب اخوك والله ❤✌️
@ahmadbenchakhtir
@ahmadbenchakhtir 8 ай бұрын
@@amrhesham3135 🤣🤣🤣🤣🤣🤣♥ مرحبا مرحبا
@ahmadbenchakhtir
@ahmadbenchakhtir 8 ай бұрын
@@amrhesham3135 🤣🤣🤣🤣🤣♥
@smokinjoe3000
@smokinjoe3000 11 ай бұрын
Just discovered these today - and they're so well presented! These are things I use at work every day and you've done such a great job in explaining the benefits and pitfalls of each of these react hooks! Definitely pointing any new engineer over to your channel to learn/understand them
@rajeshmaydev
@rajeshmaydev 10 ай бұрын
the words you picked "freeze in time". Really helped me wrap the idea of it after many months of doubt
@levezze
@levezze 9 күн бұрын
This is by far the best explanation I've seen. Thank you!
@shubham.verma-dev
@shubham.verma-dev Жыл бұрын
Nicely explained. I tried to understand from other videos as well, but this is really good. Now I am done with my doubts.
@cosdensolutions
@cosdensolutions Жыл бұрын
Happy to hear! 🤙
@shashankkumar7568
@shashankkumar7568 Күн бұрын
You deserved to be subscribed , best explanations i ever heard for hooks
@TYTAX_HOME_GYMS
@TYTAX_HOME_GYMS 3 ай бұрын
greetings from Poland. I often watch your videos, which are helpful in designing websites and web applications
@saishkhandare1661
@saishkhandare1661 13 күн бұрын
Thank you, for such a straightforward explanation.
@peirama2
@peirama2 Жыл бұрын
Man, i follow and watch the videos of many tech youtubers and i have seen a ton of tutorials from many of them. This single video is the best tutorial of any concept i have ever seen. Tons of respect!
@cosdensolutions
@cosdensolutions Жыл бұрын
Thank you for the kind words!
@peirama2
@peirama2 Жыл бұрын
@@cosdensolutions thank you for the many “aha” moments
@Za-xh9tj
@Za-xh9tj 10 ай бұрын
Expected to learn useCallback, instead I learned how react rerender, memo, and usecallback works. Amazing.😄
@__shubhamtiwari
@__shubhamtiwari 11 ай бұрын
Bhai sahab matalab ekdam gajab padhaya yaar, dil jeet liya dost ❤
@antimrevapati8992
@antimrevapati8992 11 ай бұрын
Thank you so much for making these easy to understand videos. The most important thing you did was first intruduce the problem and then explain what the topic is and how can we solve this issue using this topic, this is a wonderful strategy to follow. Thanks again!
@cosdensolutions
@cosdensolutions 11 ай бұрын
Thank you for the kind words ☺️
@diggerdog001
@diggerdog001 Жыл бұрын
15:32 When u put 'users' in arr dep i really thought them why we need use Callback if we started from where our problem starts. And you began explain 😀
@briandacallos4234
@briandacallos4234 Жыл бұрын
I'm shocked how he explained it very well than anyone could. Automatic subs!
@cosdensolutions
@cosdensolutions Жыл бұрын
Much appreciated! ☺️
@Makłowiczwpodróży-q6l
@Makłowiczwpodróży-q6l 9 ай бұрын
Best hooks tutorial I've encountered so far! Thanks 🔥
@manojmrpd
@manojmrpd 8 ай бұрын
You are really a great educator. The best react tutorials found on KZbin! Very Appreciated @Cosden Solutions
@tingwen1713
@tingwen1713 10 ай бұрын
Hey! Just wanted to say that I've been going through your Learn React Hooks playlist and it's been so helpful. Thank you for making this content. You're a great educator!
@nikkehtine
@nikkehtine 3 ай бұрын
This channel is a goldmine
@pammvigroup1171
@pammvigroup1171 3 ай бұрын
Very good explanation of callbacks
@mahdiabolghasemi189
@mahdiabolghasemi189 Ай бұрын
You are an awesome educator. Keep gooing🔥
@g10-you
@g10-you Жыл бұрын
you are very clear concept wise. No need to follow any other videos on react hooks. really liked all your videos. Thanks and much appreciated
@abdulazeezolalere9638
@abdulazeezolalere9638 3 ай бұрын
Really is the last useCallback tutorial I'll watch 👍
@coolme7437
@coolme7437 Жыл бұрын
Thanks, this really is my last useCallback tutorial.
@shamimhossain551
@shamimhossain551 Жыл бұрын
Ahh! you make my day. Was in a maze whole day about the using of useCallback. You've just come up with a propper salvation. Thanks ❤
@CalltheWei1020
@CalltheWei1020 Жыл бұрын
Love how you explain the whys and what really happens behind the scenes. Thanks and much appreciated
@Gangbuster74
@Gangbuster74 Жыл бұрын
By far this is rhe best explanation have watched many many tutorials, but you explained it in very simple terms 🎉ty
@cosdensolutions
@cosdensolutions Жыл бұрын
Glad to hear it! 🤙
@fhkodama
@fhkodama Жыл бұрын
Oh, finally a good explanation about this hook! You got a subscriber with this video! Thanks!
@borameupai1792
@borameupai1792 9 ай бұрын
Your explain saved my life. U just got a new subscriber. Thanks.
@viliuxsas
@viliuxsas Жыл бұрын
I am happy that I found this channel! Thank you for very clearly explanation about React hooks and because of you I improved my knowledge.
@cosdensolutions
@cosdensolutions Жыл бұрын
glad to hear it!!!
@SinanZen1981
@SinanZen1981 Жыл бұрын
great explanation thank you. no blank spaces left
@srsh12345
@srsh12345 2 ай бұрын
thank you for the breakdown. Helped me a lot.
@catalincatalin4101
@catalincatalin4101 Жыл бұрын
We really needed someone make this hooks simple. Thanks
@dilshadazam880
@dilshadazam880 Жыл бұрын
You deserve atleast 1 million subscribers. Please keep making such videos
@vladpoleshyk6814
@vladpoleshyk6814 3 ай бұрын
Thx, after your explanation all became clear!
@stevebuonincontri6853
@stevebuonincontri6853 3 ай бұрын
I like your teaching style
@NishimweRukundoProsper
@NishimweRukundoProsper 5 ай бұрын
Nailed it, Clear explanations
@SREETAMAMITRA
@SREETAMAMITRA 6 ай бұрын
Explained in very simplified way !
@ayushikarn1893
@ayushikarn1893 6 ай бұрын
I am so lucky to have found your channel. I would love to be mentored by you :)
@kisuhara7844
@kisuhara7844 11 ай бұрын
literally the best react tutor thank you for your videos
@vivekkumar-pc1xy
@vivekkumar-pc1xy Жыл бұрын
Great video, well explained. Everything is now crystal clear
@oscardasilva971
@oscardasilva971 Жыл бұрын
The last example was very clever. Thank you sir.
@mohamedafridi2341
@mohamedafridi2341 Ай бұрын
Great Explanation, thanks
@vesa95
@vesa95 Жыл бұрын
Awesome explanation, man! very, very clever!
@userfhhoyhgfdgg
@userfhhoyhgfdgg 2 ай бұрын
It's perfect! Thank you so much. You're great!
@alinaned2238
@alinaned2238 6 ай бұрын
🔥🔥🔥I think I finally got it! Thank you so much for the explanation!
@PradeepManek
@PradeepManek 8 ай бұрын
Thank you brother you explain this topic very well.
@aleksandrgolyk3787
@aleksandrgolyk3787 10 ай бұрын
Great explanation 🎉🎉🎉 i was so struggling with understanding this topic. Thank you🎉🎉🎉
@haiderjaafer8164
@haiderjaafer8164 Жыл бұрын
Great to see you here I followed you on tiktok. So great work keep going forward
@cosdensolutions
@cosdensolutions Жыл бұрын
Nice! Thanks! Will do ☺️
@Luis3alsa
@Luis3alsa 3 ай бұрын
When you decide to put 'Simply Explained!' in the title, I know for sure I'll understand!
@danurarya0823
@danurarya0823 6 ай бұрын
A very valuable lesson, thanks for sharing
@attouyassine1056
@attouyassine1056 11 ай бұрын
Appreciate the way you explained it, thanks
@DamerlaPravallika
@DamerlaPravallika Ай бұрын
Very well explained 💌
@radhiarahmani9523
@radhiarahmani9523 8 ай бұрын
Very well explained! Thank you so much
@Ceyesse
@Ceyesse 3 ай бұрын
Excellent work.
@victorlindh3129
@victorlindh3129 5 ай бұрын
Very good explanation!
@jenlesamuel
@jenlesamuel 5 ай бұрын
Awesome Video. Thank you!!!!
@Coding_Rights
@Coding_Rights Жыл бұрын
Finally I understood useCallback ❤️ Thanks a lot!
@alangraton2000
@alangraton2000 Жыл бұрын
Dude, your channel is the bomb. Thanks for the vids ^-^
@cat_demon4405
@cat_demon4405 Жыл бұрын
Underrated channel! subscribed
@saikumar.reach99
@saikumar.reach99 7 ай бұрын
Helped me understand callbacks it was tough earlier
@acm.marques
@acm.marques 3 ай бұрын
excellent explanation
@atakan8570
@atakan8570 Жыл бұрын
best teacher ever
@VijayVibhuteFlautist
@VijayVibhuteFlautist 11 ай бұрын
Love it! Appreciate the way you explained everything. ❤
@ASOCMARCTKD
@ASOCMARCTKD 8 ай бұрын
Excellent explanation, thank you 😇
@ericjunior105
@ericjunior105 5 ай бұрын
Dropped a like before I pressed play
@Jam....
@Jam.... Жыл бұрын
Excellent clear explanation thank you.
@legend_749
@legend_749 Жыл бұрын
awesome explaination, pls continue this series
@cosdensolutions
@cosdensolutions Жыл бұрын
Will do!
@pythonfamily
@pythonfamily 9 ай бұрын
omggg Great explanation. Thank you bro
@WaseemAhmad-mf3wh
@WaseemAhmad-mf3wh 10 ай бұрын
Thank you for your clear explanation ❤
@shabeeeb6400
@shabeeeb6400 Жыл бұрын
you earned a sub :) great explanation
@dumbfailurekms
@dumbfailurekms 5 ай бұрын
Great content brother!
@seelvek6550
@seelvek6550 4 ай бұрын
Thanks! Good stuff 🙇
@2029leandro
@2029leandro 10 ай бұрын
Perfectly explained!
@jithinbalakrishnan
@jithinbalakrishnan 5 ай бұрын
Thank you so much for this content.
@dipayanchakraborty2417
@dipayanchakraborty2417 2 ай бұрын
Great video!
@belkocik
@belkocik Жыл бұрын
Very clear explanation!
@sidkan9251
@sidkan9251 Жыл бұрын
you got a new subscriber thanks man
@abhinavdhama3014
@abhinavdhama3014 Жыл бұрын
Amazing explanation on hooks ❤❤❤❤
@cosdensolutions
@cosdensolutions Жыл бұрын
glad you liked it!
@samahgad241
@samahgad241 Жыл бұрын
thanks alot, very happy to know your channel🌹
@aliksayfullin3278
@aliksayfullin3278 10 ай бұрын
Great explanation 👍
@giannizamora7247
@giannizamora7247 10 ай бұрын
One of the things I noticed at 15:05 is that 'alex' shows but If you typed "james" the console log users[0] would have still been alex and that's because before our input changed alex was the first person in that list.
@myrachanto
@myrachanto 7 ай бұрын
great work , thanks for sharing
@TimothyVandeweerd
@TimothyVandeweerd 2 ай бұрын
Hi, thank you so much. I appreciate sharing your knowledge and love your tutorials. I am trying to work through this one and am asking if you can please make the shuffle function referenced in the index.tsx file (import { shuffle } from '@/utils';) available.
@SPribyt
@SPribyt Жыл бұрын
Good job explaining!
@HenryBabbage
@HenryBabbage Жыл бұрын
Awesome explanation. Thanks!
@cordial
@cordial Жыл бұрын
After you add 'users' as a dependency to the useCallback, if you press shuffle, would the search component still not rerender?
@cosdensolutions
@cosdensolutions Жыл бұрын
Yes it does, but that is what you want. You don't want to prevent a render, you just want to control when it happens. So if there was another piece of state that would change, then it wouldn't re-render. You only want to re-render when what it depends on changes, and nothing else!
@cordial
@cordial Жыл бұрын
@@cosdensolutions cheers. great video as always btw.
@rgchroniclestv
@rgchroniclestv Жыл бұрын
Really a big help. Thanks
@dylcodes
@dylcodes 8 ай бұрын
Great video, thank you!
Learn React Hooks: useContext - Simply Explained!
15:46
Cosden Solutions
Рет қаралды 199 М.
useMemo Hook Explained in Hindi 🔥
11:39
Thapa Technical
Рет қаралды 55 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
useCallback() & React.memo Hook in React | EP35 | Srikanth తెలుగు
18:11
Learn With Srikanth Racharla
Рет қаралды 9 М.
Learn React Hooks: useMemo - Simply Explained!
13:41
Cosden Solutions
Рет қаралды 121 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 495 М.
The Biggest Mistake Intermediate React Developers Make
18:32
Cosden Solutions
Рет қаралды 40 М.
Learn React Hooks: useEffect - Simply Explained!
14:07
Cosden Solutions
Рет қаралды 180 М.
Learn useCallback In 8 Minutes
7:50
Web Dev Simplified
Рет қаралды 483 М.
Learn React Hooks: useRef - Simply Explained!
12:42
Cosden Solutions
Рет қаралды 120 М.
The Most Important Rule for Clean Code in React
16:52
Cosden Solutions
Рет қаралды 29 М.
Mastering React Memo
26:56
Jack Herrington
Рет қаралды 138 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН