React Hooks Course - All React Hooks Explained

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 946

  • @PedroTechnologies
    @PedroTechnologies  3 роки тому +196

    Hey everyone! A lot of you guys are asking what is the extension that autocompletes stuff in this video. The extension I am using is Github Copilot! I just posted a video going over my favourite VSCODE extensions: ua-cam.com/video/ZPcrEOHpEnU/v-deo.html

    • @vaibhavdhole9117
      @vaibhavdhole9117 3 роки тому +3

      which extension he is using for (auto) coding?

    • @tibettenballs4962
      @tibettenballs4962 3 роки тому +9

      Pedro. Do you think your thingy is smaller than mine??
      Yes or no.

    • @alelokaoseumu
      @alelokaoseumu 2 роки тому +3

      @@vaibhavdhole9117 It's Github's AI Copilot... but it requires joining a waitlist if you want to use it.

    • @avinaba_mazumdar
      @avinaba_mazumdar 2 роки тому +1

      how is your copilot so fast on recommending?
      mine takes time

    • @PedroTechnologies
      @PedroTechnologies  2 роки тому +7

      @@tibettenballs4962 bruh wtf lmaoo

  • @depressedorange9088
    @depressedorange9088 3 роки тому +553

    Hey Bro just wanted to let you know I just won the project of the year and it wouldn’t have been possible without your help. Thanks a lot man. You don’t know much it has impacted me. Keep doing your thing. I’m dropping some Ms for you on my first pay slip. Cheers

    • @PedroTechnologies
      @PedroTechnologies  3 роки тому +77

      Hey, this is amazing! Im so happy to hear this, you have no idea! Thank you for watching my videos, im really happy to know you were impacted by them :)

    • @vaibhavdhole9117
      @vaibhavdhole9117 3 роки тому +1

      which extension he is using for (auto) coding?

    • @emmanueleban1096
      @emmanueleban1096 3 роки тому +3

      @@vaibhavdhole9117 copilot i guess

    • @the_angry_developer
      @the_angry_developer 2 роки тому +3

      @DepressedOrange what project did u make bro? Hit me up please 🥺

    • @deveshanandsrivastava6218
      @deveshanandsrivastava6218 2 роки тому

      @@vaibhavdhole9117 emmet probably

  • @chickaberga2
    @chickaberga2 3 роки тому +181

    Been learning React for about a month and I can safely say this tutorial was the most helpful out of any other React video I've watched

    • @PedroTechnologies
      @PedroTechnologies  3 роки тому +21

      Wow this makes me very happy! It took me a while to make this video so I am really happy to hear this!

    • @vaibhavdhole9117
      @vaibhavdhole9117 3 роки тому

      which extension he is using for (auto) coding?

    • @manumene
      @manumene 2 місяці тому

      i agree

  • @davidnetk
    @davidnetk 3 роки тому +69

    This was exactly the overview of React Hooks I was hoping to find. Thank you, Pedro, you're an excellent teacher.

  • @andresguerra8580
    @andresguerra8580 Рік тому +48

    I found this tutorial very useful, however there were a few things worth mentioning that were left out in the video.
    1) useEffect hook is used for handling things outside the scope of React, like manually manipulating the DOM , make an API call, access to localStorage, etc.
    2) useEffect hook is also used to keep different states in sync.
    3) importance of the cleanUp funciton when using useEffect hook, to avoid memory leak on components that are not unmounted by React.
    4) Main problem that useContext solve is to avoid prop drilling, in other words avoid passing props from a parent component to deeply nested components when components in between won't even use these props, if the idea is just to reuse a piece of component we can use custom hooks instead

    • @sasuke_dom
      @sasuke_dom 11 місяців тому

      Thanks a lot for this addition too!!

  • @tolalemma
    @tolalemma Місяць тому +2

    Thank you, Pedro! You are the reason I started learning React two years ago, which eventually helped me land a job. I’m truly grateful!

  • @mabinogi1996
    @mabinogi1996 2 роки тому +12

    I recently started as a full time software engineer out of college, and I have been interested in exploring some of my team’s front end stuff (which is using React). I went through several Udemy courses and UA-cam videos, but always found myself getting very confused by their explanations. This video was by far the most helpful, and I have now gone from React looking like gibberish magic to having a decent understanding of how it all works! Thanks Pedro!

  • @emamarcela354
    @emamarcela354 2 роки тому +39

    I think I'm finally understanding hooks and how they work. You explain really well. Thank you so much, Pedro!

  • @kramyshan8121
    @kramyshan8121 2 роки тому +4

    I have to say something, your tutorial is way better than the documentation itself. You show the details and why everything goes on. To me this channel is definitely the go to place for programmers. Thank you very much and keep it up just like this, bro!

  • @karnencaldo
    @karnencaldo 3 роки тому +16

    I love the way you explain things, and this is what bring me back to your channel every time I need my React skills updated. I went from 0 programming skills to building my own app exactly the way I wanted thanks to your CRUD tutorial series and I want to say that I am very thankful and will donate to you when I can. You are awesome and don't stop making videos, they are very much needed for people like me. Thank you.

    • @PedroTechnologies
      @PedroTechnologies  3 роки тому +4

      I appreciate that! Thank you for supporting the channel!

  • @zomerusama
    @zomerusama 3 роки тому +13

    You're such a great teacher. I've learn more in your 1 and a half hour video course than a 15 hour course in Udemy.

  • @mearn_ctaftsman
    @mearn_ctaftsman 2 роки тому +1

    Just started and not missed a single clip till the end even I know some of the stuff.
    Excellent brother.

  • @scchengaiah4904
    @scchengaiah4904 3 роки тому +18

    Thank you for explaining the concepts in a simplistic manner. The way the content was structured is excellent and easily understandable for beginners.

  • @ngouendgerard4114
    @ngouendgerard4114 Рік тому +1

    This is one of the most relevant tutorial I find out on React, the muscle of your head détend at your explanations, really, as react is almost confusing at times,you are really a great teacher Bro, you literally pops my esteem. YOUR tutorial is really like a part of a course bought on udemy, or somewhere else. You definitely are doing a great Job.Thank you for your consistency Pedro, it's means a lot for us, just keep going man...

  • @coltanium13
    @coltanium13 3 роки тому +5

    Fantastic explanations of all the hooks. one of the best react hook video tutorials ive watched. I appreciate how you put bookmarks in your video for easy navigation too.

    • @PedroTechnologies
      @PedroTechnologies  3 роки тому +1

      Thank you so much! This took me a while to record + edit so I am very happy to hear you liked it!

  • @yamilmsilva
    @yamilmsilva Рік тому

    here from NYC, I just finished watching your tutorial , THANK YOU SO MUCH !!!! i won’t lie to you the last 2 hooks were like so complex (not difficult) , however i rewatched them 3 times and i got them PERFECTLY.

  • @emmanuelessien8739
    @emmanuelessien8739 3 роки тому +5

    Thanks man. These are ultimately the most important things when learning react, you've done great. Thanks again

  • @tejmhatre30
    @tejmhatre30 3 роки тому +2

    Thanks

  • @mrugamajmudar5433
    @mrugamajmudar5433 3 роки тому +6

    This is exactly I wanted. Fantastic video, really appreciate your efforts, superb explanation of each hook with real-time examples. Cant thank you enough!!

  • @jeffrey5718
    @jeffrey5718 3 роки тому +2

    Pedro man, you are the legend mate. Never did I watch one tutorial that explains everything about React Hooks plainly. I am able to grasp all the hooks all in once. Well done!

  • @amergaber3996
    @amergaber3996 3 роки тому +3

    Hey Perdro, this exaplantion should be in the docmentation of React Js. You are such a great tutor. I really loved the way you explain things, very soomth and clear. Keep going bro!

  • @fredianriko5648
    @fredianriko5648 3 роки тому +1

    this really helps a lot for a dummy like me who is really confused when reading the official documentation of ReactJS, been trying to understanding the hook concept from reading the documentation, but still confused about how to use it practically.

  • @khal-drago-dj
    @khal-drago-dj 3 роки тому +5

    Wonderful explanation of all hooks along with good examples. Thank you, Pedro!

    • @vaibhavdhole9117
      @vaibhavdhole9117 3 роки тому

      which extension he is using for (auto) coding?

  • @nawodmadhuvantha9291
    @nawodmadhuvantha9291 3 роки тому +8

    Thank you so much. This is a most understandable tutorial about react hooks. I have a simple request. Would you mind, mention the vs code plugin that you used for getting suggestions?

  • @gnarnraja
    @gnarnraja 2 роки тому +1

    Thanks. It really helps.

  • @DaveSmith-fu2ty
    @DaveSmith-fu2ty Рік тому

    This is an excellent video. At first I was feeling hesitant about watching an hour and 38 minute video, but it flowed well and felt like 30 minutes. Great info and great examples. I am still a little lost on the useImperativeHandle portion, but I am sure that watching it again will fill in those gaps. Keep making videos and also become a professor. The students need you!

  • @_Yolandi
    @_Yolandi 3 роки тому +7

    damn, this goes right into my playlist

  • @Stephen_L
    @Stephen_L 3 місяці тому

    Thank you for taking the time and effort to make this video! You did an excellent job of explaining and demonstrating the functionality of each of the hooks, and your approach made it very easy to comprehend even the more complex hooks as well. Cheers!

  • @achuntps0913
    @achuntps0913 2 роки тому +3

    Thank you for making this understandable video!! ✨ You're an excellent teacher!

  • @eb8931
    @eb8931 Рік тому +1

    Pedro, this is an excellent video. I think almost all concepts in computer science are very easy once you understand them. But getting to the point of understanding them can be incredibly difficult. Your explanations and use of examples really simplified the understanding concepts part. I’ll check out your other videos, but really five stars on this one.

  • @adnantariq3346
    @adnantariq3346 2 роки тому +3

    What a brilliant young man you are Pedro! Thank you for helping thousands of us.

  • @moarifur
    @moarifur Рік тому

    This is the only video out there which can teach me react hook!!!
    I don't know how to thank you brother so a big hug and thanks to 'PedroTech'.

  • @varaprasad4163
    @varaprasad4163 3 роки тому +3

    Such great content Pedro! Thanks a lot. please make a video on all life-cycle methods. it really helps a lot.

    • @PedroTechnologies
      @PedroTechnologies  3 роки тому

      I kinda go over the useEffect and useLayoutEffect hooks in this video. But I didn't go in full depth and talked about stuff like cleanup functions and so. I can make a video on it :)

  • @Ram-sc6or
    @Ram-sc6or Рік тому +3

    Thank you so much for this video

  • @nuwanthuduwage6869
    @nuwanthuduwage6869 2 роки тому +3

    Great work!!!, Thank you for explanation. Keep it up. 👏👏👏✔

  • @levihalperin7649
    @levihalperin7649 3 роки тому +1

    Agree with all the other comments. Best explanation on UA-cam, deserves more veiws.

  • @mahtabhossain362
    @mahtabhossain362 3 роки тому +5

    Pure Gold. Thanks for this outstanding video. Really helped clearing some concepts.

  • @VictorLafargaSetLifeSolutions
    @VictorLafargaSetLifeSolutions 3 роки тому +4

    Hello, Pedro very useful and well-explained video. I'd like to know what extension that you are using in vscode that auto-complete when you type. Thank you!

    • @PedroTechnologies
      @PedroTechnologies  3 роки тому +4

      It is Github Copilot!

    • @VictorLafargaSetLifeSolutions
      @VictorLafargaSetLifeSolutions 3 роки тому

      @@PedroTechnologies I'm on waiting list. Thank you

    • @bruhking6717
      @bruhking6717 3 роки тому

      Thanks for the same question, I would like to ask. And thanks a lot to Pedro for the reply . It's helpful.

    • @teliiz
      @teliiz 3 роки тому

      @@PedroTechnologies is It free???

  • @kurtguardia
    @kurtguardia 2 роки тому +5

    Great explanation, great refresher, just what I needed. Thanks man

  • @losbopfos5637
    @losbopfos5637 3 роки тому +7

    That was exactly what I needed.
    Maybe it would be nice if you explain more concepts of React.
    For example whats the difference between function components and class components?

    • @saikiran9185
      @saikiran9185 3 роки тому

      function component is used when there is no change of props
      class components is used when props data are chages over the time
      this is major difference as i knew

  • @codingtroops9057
    @codingtroops9057 Рік тому

    I want to thank you pedro. I was always worried about the hooks word when ever used in react because on every different forum their are no complete explaination of all hooks in react.
    I have gone through all the hooks you have explained and implemented my own version because of your help.
    Thank you so much and God Bless you.♥

  • @MaximVasilkov
    @MaximVasilkov 2 роки тому +4

    ~1 hour and you know all the react hooks, perfect job!

    • @VEOdev
      @VEOdev 2 роки тому

      I watched a 10min videos and know all the react hook, to be honest it is not something to learn in 1.5h that's a long time for such simple thing, best way to learn just watch fast 10min video and start practice with it going back to documentationn

  • @codingispower1816
    @codingispower1816 Рік тому

    Pedro, I have a react interview on Monday and I am using your vids to refresh. Thanks for all your content! It's helping me be ready for any curveballs they have for me

  • @am6930
    @am6930 3 роки тому +17

    Hi bro .iam from India

  • @RodsWires
    @RodsWires 2 роки тому +1

    The best course that I am done to understand Hooks. Thank you!

  • @westernpigeon
    @westernpigeon 2 роки тому

    dude i’m in the process of becoming a self taught developer and i’ve learned a shit ton from a lot of your videos and i promise, when i land a job i’m gona make a donation to the channel 🙏 the content is too good to be free! keep it up man 👏

  • @andinkangala7282
    @andinkangala7282 2 роки тому +1

    I have been watching react hooks videos but i can say this is the best explained and i understood it so well. Thanks for this need to start applying them

  • @acupsf
    @acupsf 2 роки тому

    23:19: another way to do it is: _return {...state, count: state.count+1})_
    Great tutorial, learned a lot!

  • @daniabuaf
    @daniabuaf 3 роки тому +1

    I haven't finished the video yet, but just for the useReducer hook explanation I already love it, man! Thanks a lot!!!

  • @HomeslicedVideos
    @HomeslicedVideos 3 роки тому +1

    Thanks!

  • @luisacavalcanti3665
    @luisacavalcanti3665 2 роки тому

    This is one of the best videos I have seen about hook. Congrats!

  • @chiawen.
    @chiawen. 3 роки тому

    This is the clearest explanation about hooks that I have ever seen! It helps me a lot! Thank you soooo much!

  • @needcode
    @needcode 3 роки тому

    The best 86 minutes I have spent in my life. thank you!

  • @programming7292
    @programming7292 Рік тому +1

    The best tutorial out there.

  • @drivebuss8079
    @drivebuss8079 Рік тому

    I fkin paid more than 50 bucks to learn the same stuff on udemy, yet did not understand the concept of some hooks. Here this video is free and things clearly explained. Thanks you

  • @rakshitgupta605
    @rakshitgupta605 3 роки тому

    This is indeed the best hooks tutorial on youtube.

  • @douglasduran9251
    @douglasduran9251 4 місяці тому

    dude its the best react hooks lesson ive ever watched i totally learned evething easily Thanks Pedro 😍

  • @chandankumargouda8919
    @chandankumargouda8919 5 місяців тому

    After a long time, got a premium content from you for hooks with easy understanding

  • @noobdev4181
    @noobdev4181 3 роки тому +2

    Great, I was looking for this. I just finished my full-stack course and I need to reinforce my knowledge. Thank you.

  • @ibadshaikh2215
    @ibadshaikh2215 3 роки тому

    Couldn't find a better hooks explanation than this one. Great! Keep it up dude...

  • @jingli9232
    @jingli9232 2 роки тому

    thanks, I checked around a lot of videos, only your explanation about useReducer is super clear

  • @verygood5377
    @verygood5377 2 роки тому +1

    Thanks so much for this all-in-one video !! I can tell how much time you had to spend making it. Thank you !!

  • @astralmaster1692
    @astralmaster1692 9 місяців тому

    Your style of teaching is perfect for me

  • @shahidrizwan6903
    @shahidrizwan6903 3 роки тому +2

    Awesome work, Pedro! Big fan of your channel

  • @shahidullahmuffakir668
    @shahidullahmuffakir668 2 роки тому

    Your explanation is so simple and easy to understand.
    after going through Udemy course and other UA-cam videos , my doubts were not clear , because most of the teachers are using complex language or making a very sample topic complicated but yours was the opposite.
    Thanks a lot brother.
    I am gonna follow you for future...
    Keep share your knowledge with us.

  • @ВолодимирПриходько-л2л

    I hope more people will be able to see the work you are doing! Great job! Keep going bro!

  • @Sat-7
    @Sat-7 3 роки тому

    Your Effort will definitely be a part of so many Dev's knowledge.
    Thumb's up Pedro.
    Pretty straight forward.
    Thank you from 🇮🇳.

  • @succeeder3044
    @succeeder3044 2 роки тому

    wow, i understand everything about hooks in just one short video.
    Kudos to you 💪🏻

  • @normanklein3155
    @normanklein3155 2 роки тому

    Glad to see that you received over 300K views as its well deserved for your high quality courses

  • @tasleem6416
    @tasleem6416 Рік тому +1

    Really appreciate your effort! Thanks Mate!

  • @DanielOliveiraCarvallho
    @DanielOliveiraCarvallho Рік тому +1

    Very clear, and nice. Good job!

  • @Pareshbpatel
    @Pareshbpatel 3 роки тому +2

    This video crystallises my basic understanding of React Hooks. Very easy to follow. Thank you, Pedro.
    {2021-11-04}

  • @priyankasowmya2118
    @priyankasowmya2118 2 роки тому +2

    Hi bro... Being new to coding I was very much tensed on how toy attend interviews... But after I saw 10 mins of ur hooks video... I got inspired by the way you explain them and it really built in confidence in me... Thanks a ton... I request you to upload javascript tutorial if possible bro.. tht helps me a lot...

  • @omoladeomogbemi6442
    @omoladeomogbemi6442 3 роки тому

    I wish I could give you a hug right now and say a big thank you ❤️....I really really appreciate all you do.

  • @kazno4273
    @kazno4273 2 роки тому

    The best tutorial vid I've seen so far

  • @unqualifiedramdonri7386
    @unqualifiedramdonri7386 3 роки тому +1

    never stop with your tutorials man, youre awesome!

  • @lhyrhoy
    @lhyrhoy Рік тому

    my number one teacher!!, I really enjoy all you tutorials and may God bless you so much for that👍👍

  • @cassiosalvador7961
    @cassiosalvador7961 Рік тому +1

    Excellent video! Thank you so much!

  • @nwachukwuakachiprince3504
    @nwachukwuakachiprince3504 Рік тому

    Honestly, this worth subscribing for. Thank you once again

  • @toufonglee5073
    @toufonglee5073 2 роки тому

    I'm pretty decent in React. I would like to say, you make it so easy to understand!! Great job.

  • @Nitianhpbaba
    @Nitianhpbaba 3 роки тому

    I Searced a lot of videos but ending up with this video
    Thanks a lot, brother
    Love from India 🤗

  • @nditahsamweld346
    @nditahsamweld346 2 роки тому

    Very profound, yet comprehensive overview of React Hook. Kudos @PedroTech 👏👏👏👏👏

  • @abhishekc232
    @abhishekc232 Рік тому

    Amazing video. This is the only video which clearly explained hooks to me. Many thanks to you.

  • @antonyefanov
    @antonyefanov 2 роки тому

    I'm so glad to find this chanel. Thank you for the effort, Pedro. Hello from Ukraine

  • @gustavomonte6672
    @gustavomonte6672 2 роки тому +1

    O melhor vídeo sobre Hooks. Brigadão Pedro!

  • @benniegamali3622
    @benniegamali3622 2 роки тому

    Thank you so much for this explanation. Compairing the way I'm used to doing it to how to use the useState hook made it so much easier to understand! You're the best!

  • @srikarravoori124
    @srikarravoori124 3 роки тому +2

    Thanks for the great content!, I watched till the end and no wonder its the best video on hooks in react. And your teaching is too simple and it worth every second of the video to watch. Superb!

  • @DevSprint
    @DevSprint 2 роки тому +1

    finaly understood the hooks,
    let me know which extension your using, I noticed that when you are coding there some suggestion for you.
    Thank you brother

  • @aries3690
    @aries3690 2 роки тому

    Thank you so much for explaining so simply using such easy examples! I wasn't understanding why we would ever use the useReducer hook, but you made it so easy with the switch case!

  • @MrMeetganesh
    @MrMeetganesh 2 роки тому

    Nice Pedro, It is the most simple explanation of React hooks

  • @abeercodes
    @abeercodes 2 роки тому

    the passion you have for coding is noticeable. You really inspire me

  • @NascifAbousalhNeto
    @NascifAbousalhNeto Рік тому

    Nicely done, Pedro, thanks for putting this together! Subscribed!

  • @learnwithjoe8117
    @learnwithjoe8117 3 роки тому +2

    Thank you so much Pedro!! This is such a clear explanation and this made me solve a lot of the issues I was having with my project! Well done and all the best

  • @nstha8848
    @nstha8848 2 роки тому

    Wow that was some goddamn good explanation! I hope other react learners find this awesome channel soon and learn from you and best wishes to you that you reach 100k subscribers sooner and then a million subscriber anytime sooner! Lots of respect for your guidance man, loved it!! Thanks once again!!! I will comeback here once again after I crack the job as react developer !

  • @akbar.n
    @akbar.n 2 роки тому

    Thanks, Brother. The video was explained very well. The important part was that now we know there are at least these types of hoods and how it works. It will be very helpful to use them in projects.

  • @focusiam2027
    @focusiam2027 2 роки тому +1

    100K congrats!

  • @frankfervela7897
    @frankfervela7897 3 роки тому

    Amazing freaking video, thank you so much. Ive been developing react apps without knowing half of this stuff. Golden video Pedro. Much appreciated

  • @joelnicholas7194
    @joelnicholas7194 2 роки тому

    Thank you Pedro. You are a gifted teacher and engineer!

  • @ibnuakil6390
    @ibnuakil6390 Рік тому

    Thank you for your tutorial, I was so confused with hooks before your tutorial, now I understand.

  • @onedaytimewin
    @onedaytimewin 2 роки тому

    Your explanations are so frickin clean and effective. Thank you!