React.js Hooks Crash Course

Поделиться
HTML-код
  • Опубликовано: 19 фев 2019
  • All you need to know to learn React Hooks - a feature that allows you to work with functional React components only.
    We'll dive into useState(), useEffect() and custom hooks in great detail.
    ----------
    Take my full React course (fully updated to include React Hooks): acad.link/reactjs
    Read the full article: academind.com/learn/react/rea...
    Starting Code: github.com/academind/react-ho...
    Finished Code (Hooks): github.com/academind/react-ho...
    Finished Code (with custom Hook): github.com/academind/react-ho...
    Dive into the official React Hooks docs: reactjs.org/docs/hooks-intro....
    Want to learn something totally different? Check out all other courses: academind.com/learn/our-courses
    ----------
    • You can follow Max on Twitter (@maxedapps).
    • And you should of course also follow @academind_real.
    • You can also find us on Facebook.( / academindchannel )
    • Or visit our Website (www.academind.com) and subscribe to our newsletter!
    See you in the videos!
    ----------
    Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
  • НаукаНаука

Комментарии • 546

  • @kr0k0deilos
    @kr0k0deilos 5 лет назад +415

    1:15 what are React Hooks
    2:49 useState intro
    4:54 useState (start of code example)
    21:11 useEffect intro
    27:38 useEffect (componentDidMount)
    34:51 useEffect (componentDidUpdate)
    38:00 useEffect (componentWillUnmount)
    41:20 React.memo (shouldComponentUpdate)
    45:29 custom hooks - sharing (possibly stateful) logic
    1:02:20 rules how to use hooks

    • @riyanshbiswas
      @riyanshbiswas 5 лет назад +9

      Thanks for the timestamps man, saves a lot of time when you come back to revise the topics.

    • @pbdivyesh
      @pbdivyesh 5 лет назад +4

      Thank you sir!

    • @muhamadimron9785
      @muhamadimron9785 4 года назад +3

      Nice sir, thankyou

    • @njihiamark6926
      @njihiamark6926 4 года назад +2

      thank you!

    • @GooseGumlizzard
      @GooseGumlizzard 4 года назад +2

      i was totally onboard until "45:29 custom hooks - sharing (possibly stateful) logic"

  • @ivanabregu1
    @ivanabregu1 5 лет назад +1

    Someone could tell me please Why there are 19 dislike? This explanation in the way that the concepts are added and presented is awesome. Its really notable the preparation of the content and the predisposition to teach in the best way. In IT we have a lot of jobs opportunity, while we learn more we earn more money. So we could say that every hour and every minute it's money. Here we have Max wasting his time with us, wasting his money. I can't understand those 19 f*ckings dislikes.
    Thanks Max, like always, you are amazing!

    • @academind
      @academind  5 лет назад +1

      Thanks for your awesome feedback Ivan, but I just think it's difficult to make everybody happy (especially in the internet). However, we are very very happy with the amazing feedback we get from many people, so some dislikes are ok I guess or at least something you have to live with if you create content :)

  • @KooKoogm
    @KooKoogm 3 года назад +4

    He's one of those teachers who completely understands what he's going to teach and how he's going to teach... Awesome explanation.

  • @sam9758
    @sam9758 3 года назад +2

    This is the best introduction video to Hooks

  • @RockstahRolln
    @RockstahRolln 5 лет назад +66

    Wow.... my head is swole... so much good stuff to learn here. Thanks for this vid!

  • @tehdreamer
    @tehdreamer 2 года назад

    Dude, you are the best teacher on React and Typescript on youtube!

  • @chetankharel4435
    @chetankharel4435 5 лет назад +149

    Max you are a great guy making good content for students like us..

    • @academind
      @academind  5 лет назад +27

      Thanks so much for your support Chetan, this really means a lot to me!

    • @damansharma6737
      @damansharma6737 3 года назад

      Yalgaar ho

  • @die1234abc
    @die1234abc 3 года назад +3

    This one hour video was more informative than hours and hours of reading on the internet! Thanks!!

  • @surajpenugonda4756
    @surajpenugonda4756 4 года назад +8

    This is the best video i have seen for explanation of hooks in react.

  • @zmmorabya
    @zmmorabya 4 года назад +5

    I have watched this video at least 3 times in full and may be a couple more times for specific parts of it. My deep thank you for sharing it with us.

  • @harshdeepverma2903
    @harshdeepverma2903 4 года назад +19

    Awesome Tutorial. It really helped me a lot. I liked how the two ways were compared instead of just teaching hooks.

  • @DenhamTurton
    @DenhamTurton 4 года назад +7

    thank you Max, I love your teaching style. I went straight to Academind when I wanted to learn about React Hooks. Thank you for your positive demeanour in all the videos.

  • @dzengiztafa510
    @dzengiztafa510 5 лет назад +2

    This is by far the best video about React Hooks! Kudos!

  • @cargi
    @cargi 5 лет назад +30

    The absolute best video i've seen on React Hooks! Thanks Max!

    • @academind
      @academind  5 лет назад +4

      So happy to read that Andrew, thanks a lot :)

    • @alexmaslow6512
      @alexmaslow6512 4 года назад +1

      I wanted to write the same thing

  • @juliovicenteperez7172
    @juliovicenteperez7172 3 года назад

    You are the best teacher I have seen on RUclips. You really know the topic you are explaining, and you do it with passion There are not many like you on RUclips! Infinite thanks!

  • @DheerajBhaskar
    @DheerajBhaskar 3 года назад

    Wow! This cleared up so many concepts for me. Brilliant job Maximillian

  • @warlordzephyr
    @warlordzephyr 5 лет назад +8

    This is the react hook video I needed. Thank you.

  • @jordanbuffaloe
    @jordanbuffaloe 4 года назад

    This video rocks, thank you for being concise and high-quality!

  • @franciscoceruti966
    @franciscoceruti966 4 года назад +1

    Thank you so much! This is just what I needed to level my react game: a neat example with a very didactic yet not condescending. For me at a 1.5 speed was great.

  • @JamesBond-zz1nb
    @JamesBond-zz1nb 3 года назад

    You just cleared up months of confusion and stress with just 3 minutes of video, let alone the whole thing. Thank you so much for explaining things so succinctly.

  • @vladahinski5699
    @vladahinski5699 4 года назад +1

    Your tutorials are amazing, you're a wonderful teacher. Thank you Max 🙏

  • @info662
    @info662 4 года назад

    Didn't think I'd understand it this quick, thank you Max for this awesomeness.

  • @FrankHale
    @FrankHale 5 лет назад +2

    This tutorial was broken down beautifully and demystifies React Hooks for me now. Thank you so much!

    • @academind
      @academind  5 лет назад +2

      So great to read that you liked it Frank, thank you!

  • @nikhilkoli5073
    @nikhilkoli5073 4 года назад

    Dude, you are God...! I spent almost a day learning about React hooks from a lot of websites and the official documentation. I landed on this video after that. You pretty much summed it all up in the best way possible!!! Thank you!

  • @lvilasboas
    @lvilasboas 5 лет назад

    Awesome video, step by step and straight to the point at the same time, great examples!

  • @nathansanderson2122
    @nathansanderson2122 4 года назад

    Really appreciate you uploading this, I'm new to React within my current job and in the current climate it's tricky to figure out which is old and new standard. Thanks again, would love to buy you a coffee. Thanks:)

  • @arunh3
    @arunh3 4 года назад

    Awesome Video. I loved how you converted instead of just teaching hooks, it really helps the viewer understand why & how.

  • @ladydidi8725
    @ladydidi8725 4 года назад

    Maximillian, probably it is not new to hear for you, but you're absolutely stunning! Great work as always! I purchased many of your courses. You're saving lives.

  • @markreeves5561
    @markreeves5561 4 года назад +1

    Thanks Max. I have learned a lot from this tutorial. This is a great thing you are doing and I appreciate your help. Continue the good work. Thanks very much.

  • @Ckwon117
    @Ckwon117 3 года назад

    good explainers are tough to come by but they're out there
    what really sets this video apart is the example project and how it naturally progresses through the basics. Almost every time i started thinking of a question, you went on to answer it right afterwards. Nice video.

  • @prosenjitdas4639
    @prosenjitdas4639 4 года назад

    Reading the official documentation of the React Hooks is scary and this video clearly explains it and make it so simple to understand...You are awesome !!

    • @academind
      @academind  4 года назад

      Happy to read that, thanks a lot!

  • @anindyakundu6323
    @anindyakundu6323 3 года назад

    These last 7 months sitting at home, I learnt so much about full stack web dev all thanks to you ... I'd deferred learning node, react, graphql, etc. because the other learning resources I touched beforehand were just too overwhelming. This here is pure gold!!!

  • @thaismoraes2723
    @thaismoraes2723 5 лет назад +1

    Very clear explanation Max! Keep going with your awesome work!

    • @academind
      @academind  5 лет назад +1

      Thank you Thais, I'll do my best to keep it going :)

  • @sagarv1997
    @sagarv1997 4 года назад +1

    This is one of the best tutorials for React Hooks!

  • @attilaracz8876
    @attilaracz8876 3 года назад

    I normally avoid long videos but your tutorial is very easy to follow. thank you!

  • @wanderertim
    @wanderertim 4 года назад

    Clear and concise! I love it! Thank you Max.

  • @KMCGamer
    @KMCGamer 5 лет назад +2

    I cant even fathom how good this video is

  • @clovisbueno3872
    @clovisbueno3872 4 года назад

    Watched so many videos and after 5 days breaking my mind into react hooks you really clarify how they works. Thanks for the good content and very simple and understandable explanations. Really helped me a lot!!

  • @KenanArik
    @KenanArik 3 года назад

    Thanks for the great content! I have always enjoyed your videos, and needed to catch up on hooks. I appreciate the detail you go through while keeping the explanations succinct.

  • @BarakaAndrew
    @BarakaAndrew 4 года назад

    After this video I changed my whole react native app to using hooks. Its way better. Thanks for an excellent video

  • @bebro2075
    @bebro2075 4 года назад +1

    At first, I thought, "Oh no, 1 hour video: - /"
    But then it was over so fast, because you know how to keep us up to date and teach the stuff quickly and well.
    I have learned so much for what my teacher needs about 5 hours.
    Greate job Max

  • @samulevy
    @samulevy 5 лет назад +2

    Amazing Max. Thanks for the great content.

  • @alexanderzaman7801
    @alexanderzaman7801 4 года назад

    Very well made video! Thank you for quickly getting me up to speed with React Hooks!

  • @antonijakasum313
    @antonijakasum313 5 лет назад +4

    Explained very clearly, thank you!

  • @ravinderreddykothabad2299
    @ravinderreddykothabad2299 5 лет назад

    Great video from Academind. The content is very nice and clear, and to the point, the comparison between class based components and functional components with hooks is very nice.
    Thanks Max

    • @academind
      @academind  5 лет назад

      Thank you very much Ravinder, it really means a lot to me to read that the video is helpful!

  • @zyadyasser196
    @zyadyasser196 5 лет назад

    Super as usual Max, well done.

  • @elsolutionscommunication5494
    @elsolutionscommunication5494 4 года назад +2

    his is the react hook video I needed. Thank you.

  • @jy_chen
    @jy_chen 5 лет назад

    Max does an unreal job of walking through the entire life-cycle of react hooks clearly, and emphasizing the key points.
    I couldn't have made into a React dev without him.
    Thank a lot sincerely.

    • @academind
      @academind  5 лет назад

      Wow, it's simply wonderful to read comments like yours Jianyuan, thank you very much for this support!

  • @mirkosedda3196
    @mirkosedda3196 3 года назад

    These tutorial are so great! Will buy your react course!!

  • @anthonyyershov4156
    @anthonyyershov4156 4 года назад

    Every question I've ever had about react is answered in this video. Thank you so much Academind!

    • @academind
      @academind  4 года назад +1

      That's just fantastic to read Anthony, thank you for your comment!

  • @lardosian
    @lardosian 5 лет назад +4

    Thanks Max, much appreciated.

  • @sfincione2000
    @sfincione2000 4 года назад

    Really nice run through of hooks. Very nice to do it via refactoring. Thanks!

  • @Spouken
    @Spouken 4 года назад

    This is by far the best tutorial I have found on this topic. Thanks for always taking the time to make these amazing videos. 🍻

    • @academind
      @academind  4 года назад

      Thank you so much Mike!

  • @inaccessiblecardinal9352
    @inaccessiblecardinal9352 4 года назад

    Excellent survey! Just started using hooks in my team's projects. Loving the simplifications to the code.

    • @academind
      @academind  4 года назад

      Thank you, happy to read that you liked the video!

  • @MrMassmaker
    @MrMassmaker 4 года назад

    watched tl-dr, rewinded a couple of times to clearify some moments.
    Thanks for the explanation.

  • @sinamirhejazi268
    @sinamirhejazi268 3 года назад

    It was amazing. Learned so many things here. Thank you

  • @popalaris1633
    @popalaris1633 4 года назад

    Nice. I understood how useState and useEffect works and this is all I wanted from this video. Thanks!

    • @academind
      @academind  4 года назад

      Happy to read that Popa, thank you for your comment!

  • @krishanmadushanka9521
    @krishanmadushanka9521 2 года назад

    Best video in youtube about react hooks. Thanks

  • @jasonhughes6300
    @jasonhughes6300 4 года назад

    Thanks for the demonstration of how powerful React hooks can be!

  • @msomedevil
    @msomedevil 4 года назад +1

    Incredible stuff. I was being an old man and not wanting to ditch class based components, but your very through and concise explanation of hooks were amazing and I will be using them from now on. Thanks alot man, will be checking out your other videos as well
    Edit: right after this, I bought your udemy course for React Native. Great stuff so far

  • @rajnayak9883
    @rajnayak9883 5 лет назад

    Really enjoyed this video specially writing modular / resuable hooks. Keep making these awesome videos!!!

    • @academind
      @academind  5 лет назад

      Awesome to read that you liked it Raj, thanks a lot for your comment!

  • @acedecastro83
    @acedecastro83 4 года назад +1

    Thank you so much for this great content, Max!

  • @gamefreak2993
    @gamefreak2993 3 года назад

    Max, you're brilliant. Thanks for the lesson!

  • @kvazaios5026
    @kvazaios5026 3 года назад

    This is pure content! Great job

  • @realoAwAo
    @realoAwAo 5 лет назад

    I was struggling to find better stuff on react hooks. You made it so easy. There is always something to learn from your videos. Rockstar.

    • @academind
      @academind  5 лет назад +1

      Wow, thank you so much Kawaljit!

  • @MauriceMelchers
    @MauriceMelchers 5 лет назад

    Best explanation on the feature I've seen so far. Thanks man!

    • @academind
      @academind  5 лет назад

      Thank you Maurice, awesome to read that!

  • @jomadoye
    @jomadoye 5 лет назад +2

    Absolutely awesome tutorial, Thanks!

  • @Ahmed.Hadjou
    @Ahmed.Hadjou 5 лет назад

    Thanks a lot Max, your informative tutorials are as usual a perfect mix of theory and code, keep up the great work :)

    • @academind
      @academind  5 лет назад

      Happy to read that you liked it Ahmed, thanks a lot!

  • @piashmehedi
    @piashmehedi 4 года назад

    Awesome max. You are always best in teaching

  • @MrGreenpaulo
    @MrGreenpaulo 4 года назад

    You're a brilliant teacher Max! Explanations are great. Thanks for your channel!

    • @academind
      @academind  4 года назад +1

      Thank you so much!

  • @danielimodoye5688
    @danielimodoye5688 4 года назад

    Maximilian Schwarzmüller...you are the best ..thanks for making it crystal clear

    • @academind
      @academind  4 года назад

      Thanks a lot Daniel!

  • @vivisu492
    @vivisu492 Год назад +2

    Thank you so much! This is an amazing video of explaining important react hook concept! 👍

  • @nanasarathi
    @nanasarathi 4 года назад

    You are superb Max... I always see your videos... The way you explain the concept is really good. Thanks...

    • @academind
      @academind  4 года назад +1

      This really means a lot to me Narendra, thank you!

  • @revillsimon
    @revillsimon 3 года назад

    Awesome job Max, thank you so much 😊. I’m now looking forward to writing my own hooks now for reusable logic!

  • @sreejithp3916
    @sreejithp3916 5 лет назад +1

    Max you are a great trainer. the way of presentation is excellent

    • @academind
      @academind  5 лет назад

      Thanks a lot Sreejith!

  • @christianangelomsulit3759
    @christianangelomsulit3759 4 года назад

    This is very helpful and easy to understand. Thanks max!

  • @xiaoboswift4343
    @xiaoboswift4343 5 лет назад +1

    I'm a lucky guy when I starting to learn react! Your course is amazing! Thanks so much!

    • @academind
      @academind  5 лет назад

      Thank you so much for your support, happy to read that you like the React course and React in general :)

  • @Develoquent
    @Develoquent 3 года назад

    Great explanation for useEffect and custom hooks. Coming from class based components it was easy to grasp

  • @user-rb7zq5bd7f
    @user-rb7zq5bd7f 4 года назад +1

    Perfect explanation, many thanks!

  • @Jan18884
    @Jan18884 5 лет назад

    As always. Great video to learn effectively and quickly web dev content. Thank you!

  • @skinnycarrotchan
    @skinnycarrotchan 3 года назад

    You are a really good teacher, I was able to understand everything, though custom hooks will take some more practice. Thank you for this! 🙏

  • @andreadiotallevi5780
    @andreadiotallevi5780 4 года назад

    Thank you very much man, amazing video. Really like your style, very precise and accurate.

  • @rafeemuhammad8828
    @rafeemuhammad8828 4 года назад

    Great Video Max!

  • @danielbocelli
    @danielbocelli 3 года назад

    Thanks so much! I’m just now getting into react again and I was so confused but this helped a lot.

  • @africancoder980
    @africancoder980 5 лет назад +1

    👏🏾🙌🏾 you the man Max!!! now I'm hooked 😀

    • @academind
      @academind  5 лет назад

      Haha, awesome to read that :)

  • @thirstypooch
    @thirstypooch 5 лет назад

    Loved it ! Academind never disappoints

    • @academind
      @academind  5 лет назад

      We do our best to keep the videos coming, happy to read that you enjoy them :)

  • @fuu812
    @fuu812 5 лет назад

    What a fantastic quality video!! Thanks for your hard work.

    • @academind
      @academind  5 лет назад +1

      Thank YOU for your awesome comment!

  • @ievgenaznaurov
    @ievgenaznaurov 3 года назад

    that's an art of explaining! well done, thank you!

  • @HugoPineda83
    @HugoPineda83 5 лет назад

    kudos to the best hooks materials so far! Thanks a lot

    • @academind
      @academind  5 лет назад

      Thanks so much! That's amazing to hear!

  • @kantyDarius
    @kantyDarius 5 лет назад

    You're such a great teacher max! Thanks a lot, cheers from Argentina!

    • @academind
      @academind  5 лет назад

      Thank you for your great feedback Dario, greetings from Germany!

  • @Fooljuice
    @Fooljuice 2 года назад

    What an excellent video. Thanks Max you rock

  • @kushalbansal5508
    @kushalbansal5508 3 года назад

    This guy really knows how to teach properly

  • @SakhawatHossainlive
    @SakhawatHossainlive 3 года назад

    Probably the best tutorial for starting react hooks.

  • @TyeTheOnly
    @TyeTheOnly 4 года назад

    I never like, subscribe, or comment but in this case, it would be criminal to get this level of content for free and not show support. Thank you so much!

  • @sashakost6279
    @sashakost6279 5 лет назад

    Thanks for a good dive in hooks. Thank you, Max!

    • @academind
      @academind  5 лет назад

      Thank YOU for your great feedback Sasha!

  • @unhash631
    @unhash631 4 года назад

    This might be the best introductory video to Hooks

  • @fev4
    @fev4 5 лет назад +3

    Awesome Max! Ty very much!!

  • @jeinernoriega7910
    @jeinernoriega7910 4 года назад

    The best instructor online!

  • @fuhelen180
    @fuhelen180 5 лет назад +4

    This is amazing. Thank you so much!

  • @pravinharigaikwad
    @pravinharigaikwad 4 года назад

    Max you are real techie geek and a superhero for us....