I was paying attention to every single detail until Rafiki "throw-away" Simba, then I totally lost my track. Although I manage to watch the entire video and is explained incredibly well. Excellent!
@andyengle4 жыл бұрын
Haha same here. I rewinded, closed my eyes and listened. A little more clear doing it that way, I found.
@rauldeandrade4 жыл бұрын
@@andyengle same here
@compedium4 жыл бұрын
same, gifs distract sometimes.
@leeopperman17833 жыл бұрын
I was going to come here to say the exact same thing, that part really distracted me. I eventually just closed my eyes.
@byjackli3 жыл бұрын
and the crowd goes wild !!!
@roberthinckley75084 жыл бұрын
I love the way that you explain things. Most tutorials I've seen just show how to implement the code step by step (for total beginners), but your tutorials explain the reasoning behind it. Way more concise and valuable. Sad there's not more free content shared on KZbin though....
@compedium4 жыл бұрын
agreed, this is amazing. It gives the context,history, and 'why' before just diving into code. I got more out of these 15 minutes than I have in any other tutorial.
@mattLake14555 жыл бұрын
This video is explained incredibly well
@uidotdev5 жыл бұрын
Thank you Matteo!
@Lambdaphile4 жыл бұрын
I don't think I've seen anyone else in the JS community explaining things in this level of clarity :)
@uidotdev4 жыл бұрын
Thank you!
@smithcodes12433 жыл бұрын
This guy is so good at explaining things, one of the best teachers hands down! I will enroll in your course now!
@arnulfoloredo10794 жыл бұрын
Nice. I tried to learn React almost 3 years ago, and now 2 weeks ago I started again; in these weeks I've been doing a project, and came across these two paradigms and didn't understand the difference between them. Plus I barely remembered the createClass paradigm. This video explains very well what is a Class component and a function component. But now I have a project with some Class components and some function components. At least now I know what I have to refactor. Thanks for this cool video.
@spongechameleon69404 жыл бұрын
Bruh thank god for this video. This primer along with Ben Awad's technical hooks walkthrough has a young man feeling educated AF out here.
@SBDavin5 жыл бұрын
I can't wait until they change how to create components and relearn React (again).
@ruxaa22244 жыл бұрын
Could be worse if Angular.
@johnm83584 жыл бұрын
Hey same with vue
@tedigrizli11 ай бұрын
Excellent introduction. I'm studying React but I never really got a clear understanding of what's so special about Hooks (being someone that never had to deal with classes and the problems that you mentioned in your video). So I started looking around for specific examples / comparisons of how a React hook improves the current code, and this is the only video I found that focuses on this exact topic. Thanks for clearing it up for me!
@caoimghgin4 жыл бұрын
I simply could not wrap my head around this. Now, I 'get it'. Thanks for doing this. A life saver!
@cli234 жыл бұрын
Love this - especially the first chunk that explains the "why?". I never really felt the need to start using hooks until now :)
@uidotdev4 жыл бұрын
Glad you enjoyed it!
@Andrei-xb1pz4 жыл бұрын
Many people know react hooks but to find people know how to explain it is a bit harder. Congrats!
@Deepakkumar4314 жыл бұрын
This is the first video I see which explains the real benefits of hooks instead of just saying "we can use states inside a functional component."
@uidotdev4 жыл бұрын
Glad you enjoyed it!
@yebot3 жыл бұрын
For real. For months I’ve been trying to find a reason, a real world problem that React Hooks solves and this video is the first example I’ve come across.
@simonswiss5 жыл бұрын
Teaching a workshop tomorrow, and this is such a powerful refresher on the history or how React components have been written over time. Awesome stuff Tyler!
@uidotdev5 жыл бұрын
You're welcome! Good luck with the workshop!
@melvinlijiabraham41653 жыл бұрын
This video made me change my mind about functional components. I guess I will stick to functional components from now on. Thanks for such a great explanation
@EvilTim19115 жыл бұрын
I'm returning to the React world after working with Angular for a while and hooks were an unfamiliar topic for me because class-based components, lifecycle methods and setState() were the norm when I was still using React. This video was just what I needed to get up and running again because I'm exactly the type of guy who asks "but why do I need this though?". Great stuff
@uidotdev5 жыл бұрын
Glad it was helpful! Welcome back to React land.
@bojanadrangova71895 жыл бұрын
This is one of the well rounded explanation on hooks (and why are they great) I've seen. It was so short but so well put together. Bravo. Getting a subscriber.
@uidotdev5 жыл бұрын
Thank you!
@carlosreis9775 Жыл бұрын
Thank you so much!! The history of where these changes come from is very important, and one of the best videos so far in react.
@johnm83584 жыл бұрын
As someone trying to understand the progressive changes to react this is an excellent vid
@TeParamount2 жыл бұрын
Thank you so much, I've been thinking about this all day and this has answered all my questions.
@j1ooz34 жыл бұрын
Thanks for the video! I really liked how you first explained *why* instead of directly starting with "what". That made it way easier to understand the concepts.
@uidotdev4 жыл бұрын
Glad you enjoyed it. Thanks for the kind words.
@RyanBriscall4 жыл бұрын
As most here have already said, you explained this well, covering the history, showing code samples + before and after, and the reasoning, but most importantly in a short amount of time (the primary reason I clicked this video (I will click videos that are 5min, 10min, and 15min being the max)). You also speak calmly from a neutral stance; I could not sense any frustration or whining in your tone of voice. Keep it up!
@uidotdev4 жыл бұрын
Thanks so much Ryan! Glad you found it useful.
@Equilibrier3 жыл бұрын
On of the best tutorial I've ever viewed. Thanks, these were complicated things for me, but you lighted up the dark ! :)
@diegovillafane63133 жыл бұрын
Dude, it's so so so important to give perspective, thank you! This was elinghtening.
@OurPastSecrets4 жыл бұрын
A great detail of the reasoning and history, thanks Tyler
@edcoronado5 жыл бұрын
This is awesome. Thanks for sharing but I think you also missed talking about the beautiful combination of Context and the “useContext” hook. I think these together make using something like redux or mobx unnecessary in most cases. It’s extremely intuitive and less cluttered. Thanks for your content! Really liked how you explained the history of the “why”
@jasonwelsh4174 жыл бұрын
This is my new favorite channel. I will be subscribing to your courses. Thanks for explaining things so well.
@uidotdev4 жыл бұрын
Thanks Jason!
@commanderchbib5 жыл бұрын
Anyone else here cause they didn't wanna watch the 1h35m video from the React Conf? :-)
@uidotdev5 жыл бұрын
Welcome! :)
@adeshas835 жыл бұрын
like seriously all the videos are over an hour ......so annoying
@devolee83025 жыл бұрын
I watched it but amazingly this one actually covers the history and reasonings better.
@arihasan34235 жыл бұрын
hahah!!
@ajeetworking4 жыл бұрын
haha...exaclty
@bahaaaddinbalashoni91235 жыл бұрын
Just loved the way you introduced the design pattern of the hooks, and what problems it solves. I'm actually now very intrigued to go and read the hooks part in React's source code, to know how they implemented the reactivity there. Thanks. Keep going with what you do.
@uidotdev5 жыл бұрын
Thank you!
@codewithguillaume2 жыл бұрын
Thank you so much for this quick course, it was impressive! Very well explained, in just 15 min I could put words on something I experienced since years ! Subscribing now :)
@kristianlonergan29205 жыл бұрын
Very clear and concise points!
@adeshas835 жыл бұрын
This is prob the best new react video out there...gosh...the history lesson was exceptional to watch
@uidotdev5 жыл бұрын
Thank you! Means a lot.
@alex_chugaev3 жыл бұрын
Angular: makes a single evolutional change, gets loads of hate React: changes every 2 years, everybody's happy. How?!
@u4yk2 жыл бұрын
Because Facebook.
@martapfahl940 Жыл бұрын
I dont know Angular yet but maybe the change in Angular was tremendous and the changes in React are simple but extremly improving everything? Don't know but there is a reason for everything
@rakeshchary42353 жыл бұрын
Why did I miss this channel when I started learning react
@marceli-wac4 жыл бұрын
Excellent explanation! Awesome job in conveying the whole concept in bare 14 minutes!
@uidotdev4 жыл бұрын
Thank you!
@lietuvisdarius4 жыл бұрын
Very useful video, absolutely nailed it, but problem is , actually very little one (not only this video), when you editing video/audio please make spaces/gaps a bit longer between end and start new sentence , even for few more milliseconds, for not english speaking people is hard to understand , to quick information goes through . But that’s happens in 80% new videos, it's kind of very popular these days :) Apart of that this is the best video ever about hooks! Good job Tyler.
@uidotdev4 жыл бұрын
That's great feedback. Thank you!
@geekybrains5 жыл бұрын
The best intro that I have seen till date. Thanks for the video Tyler. By the way, I follow your blog posts which are of the same high quality.
@uidotdev5 жыл бұрын
❤️
@travezripley5 жыл бұрын
Thanks for making some of the best informational videos about Javascript and sharing your knowledge with us!
@uidotdev5 жыл бұрын
Thanks for the kind words!
@travezripley5 жыл бұрын
@@uidotdev Thanks for Killing it!
@nom__sain22392 жыл бұрын
This is a really good explanation, thank you
@AnthonyInSanDiego4 жыл бұрын
I'm really impressed with the quality of explanations here. I hope this channel grows fast!! THANK YOU
@uidotdev4 жыл бұрын
Me too! Thank you!
@Ctrl_Alt_Elite4 жыл бұрын
This video is so insightful for people that have started learning React in the more recent years, amazing job! 💪💯
@uidotdev4 жыл бұрын
Thank you!
@joebrady98294 жыл бұрын
Awesome video, super well explained! I was kind of confused by "repos" though as I was thinking it was implementing the repository pattern, it might have been more clear loading "todos" or some other data that doesn't have double meaning in software.
@uidotdev4 жыл бұрын
TBH, I've never even heard of the repositories pattern. I'll check it out.
@Naveenkashyap2435 жыл бұрын
3:15 if you don't want to bind the method in constructor use arrow function when you declare your function instead of regular function
@yevhenkozlov2865 жыл бұрын
4:05
@ikarosouza95052 жыл бұрын
this is just amazing, plain and simple
@mehdiwadoud80984 жыл бұрын
I found this video very helpful as I am new to React coming from the Angular world, Thank you so much.
@uidotdev4 жыл бұрын
Glad you enjoyed it!
@ekkamailax3 жыл бұрын
These problem were solved decades ago with a pattern called MVC. React is a view library, it’s not designed to handle the complexities of a large scale application. Defining models and controllers as separate entities, then using react just for view rendering solves most (if not all) frustrations with react.
@uidotdev3 жыл бұрын
OK boomer.
@joejoe-lb6bw5 жыл бұрын
Excellent overview of hooks and, most importantly, why hooks were needed.
@bariscan92675 жыл бұрын
This is the most precise and useful video I have ever watched so far.
@AbhishekSharma_15042 жыл бұрын
This is so cool, so well explained, keep it up, will watch more of your channel
@uidotdev2 жыл бұрын
Thank you!
@dhruvduttjadhav98374 жыл бұрын
Incredible and thorough. 🚀
@yevhenkozlov2865 жыл бұрын
To me, one of the biggest advantages of Hook concept - is automatic cleanup in `useEffect`. That allows us to avoid race conditions relatively easily(but it's missed in sample 11:49).
@ImanAkrami3 жыл бұрын
what the... your skill in explaining stuff is incredible. I know hooks an i still was "hooked" on you video. :D
@uidotdev3 жыл бұрын
Glad you enjoyed it!
@ShyamSundar0554 жыл бұрын
Now i understand why hooks are simple to use. Thanks
@BobbyBundlez4 жыл бұрын
is this video implying that arrow function were basically designed due to problems with "this" and react development? people still dont understand "this" and i hear a lot of noobie developers say they just use arrow functions to avoid that problem lol.... but it does seem like arrow functions were made to help assist react with binding lol.. perhaps im wrong tho?.... its crazy how much power facebook/react has had on the entire ecosystem. i just started learning React, luckily i started with some legacy code and im a patient learner ( i feel like wayyyy too many people don't bother watching videos like this) and its awesome to see such an in depth historic breakdown. you are so right.... understanding WHY we use something helps so much. often i learn something before asking this question and never even end up using the skill later lol
@natedawgg775 жыл бұрын
Thank you for making this video. I think you did a great job of explaining "why" hooks exist and what problems they are attempting to fix. I still think hooks miss the target on their goal of making React better. It feels like you are just trading one set of problems for another with 2 apis you have to learn.
@Mr-Multiplayer5 жыл бұрын
Now that solved most of my questions and mistakes i was making in react. Thank you😍
@sourishdutta96005 жыл бұрын
Hi Tyler your explanation is awesome,thanks. Can you please make a video on es6 symbols like what are the real time use cases in our web application, where should we use in our app. Please it will be very helpful.Thank you.
@maxiequa5675 жыл бұрын
Supreme explanation, looking forward to this course greatly! Hopefully you'll use async/await/error boundaries when suitable :)
@AshishRawat-zl6te4 жыл бұрын
Really amazing video. Covered the evolution of react since it's inception, a really great way of narrating the things.
@JayRGabz4 жыл бұрын
just wow.... great explanation
@exokristian2 жыл бұрын
Holy divine wisdom injected. Thank you!
@feralking30004 жыл бұрын
thanks this helped me a lot, specially looking into it from the dates perspective
@gkumartube5 ай бұрын
Beautifully explained 🙏
@welcometochristown4 жыл бұрын
Great video, best explanation I have heard yet.
@idontwhy31324 жыл бұрын
I've also heard of composition mentioned in terms of composing functionality into classes. Is it generally speaking referring to allowance for customization? [ie. custom hooks]
@marcosrdz894 жыл бұрын
Fantastic and clean explanation
@spicystrike50884 жыл бұрын
This is very informative, thank you.
@uidotdev4 жыл бұрын
You're welcome. Thanks for the kind words!
@MurphyIsMyLastName5 жыл бұрын
Wow, this video is great. Thanks for the really in-depth explanation.
@uidotdev5 жыл бұрын
You're welcome. Thanks for the kind words!
@sunguru9815 жыл бұрын
Actually I saw this at your instagram live .. but it wasnt clear.. Thanks alot for reposting this sir :)
@YeetYeetYe Жыл бұрын
DUDE you have a gift. Holy shit. Beautifully explained. 11/10.
@xoscarreyes5 жыл бұрын
This video is just beautiful and gets exactly to the point! thanks for making it
@uidotdev5 жыл бұрын
Thanks for appreciating it!
@DirtySocrates5 жыл бұрын
Thank YOU!!!! I finally understand what I've been looking at for a couple weeks.
@uidotdev5 жыл бұрын
Glad it helped!
@johngill51753 жыл бұрын
Thanks so much for this, soo good!
@nerdiloo98635 жыл бұрын
I dig the pacing /explanation of this. You might be on to something Tyler Mchelob - cheers 🍺
@uidotdev5 жыл бұрын
Thank you!
@razmans4 жыл бұрын
Great explanation. So its like async await and promises?
@dean60464 жыл бұрын
Thank you Tyler!
@uidotdev4 жыл бұрын
❤️
@brianlee98985 жыл бұрын
Instantly hooked. Great video.
@paxaeterna37093 жыл бұрын
That image throwing the baby lion is very distracting. LOL.
@AbdelhameedG4 жыл бұрын
Thanks Tyler! Now I Love Hooks!
@Loppy23455 жыл бұрын
I tried using hooks, was a pain in the ass especially with typescript, so went back to classes. Being pragmatic is often the best choice.
@blasedefou4 жыл бұрын
Thank you so much
@iamkiko50465 жыл бұрын
This is a great overview, thank you.
@abhisheksaxena64134 жыл бұрын
great starting animated view (dog) ... so creative...
@spcs9995 жыл бұрын
Super informative!!
@narendrasinghrathore10125 жыл бұрын
Best explanation for hooks !!!
@maxart20075 жыл бұрын
Thank you very much, so briefly explained everything, saved me a lot of time)
@uidotdev5 жыл бұрын
Glad I could help!
@devilfriend3 жыл бұрын
Great video. Sadly I think they made React less readable, and it sucks but it was really easy to understand prior to this change.
@lardosian5 жыл бұрын
Very clear explanation, subbed!
@uidotdev5 жыл бұрын
Thank you!
@thomasbrown86804 жыл бұрын
This was so good! Thank you.
@jeantimex5 жыл бұрын
Awesome explanation! Thank you!
@oscardasilva9712 жыл бұрын
Good explanation, thank you.
@SiddharthPant4 жыл бұрын
You sir are a legend!
@__greg__4 жыл бұрын
Very helpful, thanks!
@harshapatil97665 жыл бұрын
very well explained the evolution of React, awesome :)
@GeordyJames5 жыл бұрын
Excellent explanation. Thanks....
@elmirmahmudov62155 жыл бұрын
just loved the explanation!
@girlsincode92554 жыл бұрын
simple and clear !
@Matt367885 жыл бұрын
Nice work, great intro. Looking forward to the course!
@uidotdev5 жыл бұрын
Enjoy!
@FrankDecker35 жыл бұрын
In my opinion... This new way seems so yuckie. Seems like just another way... framework... with literally 100% changes. It looks quite messy and even more work than a React class. Yes, I agree that states need to be kept and that it is annoying having to use componentDidMount, then setState inside, and have to keep track of if a component has data yet before loading... and that classes should be not be required to be visual... huuuu... but that is easily overcome and then it is coding as usual. What Facebook has now done is give us yet another way of doing coding and alot of new introduction to API methods. It seems like this framework is going to be more coupled to React framework specifically. Before React was less intrusive but these new changes are making react more intrusive, meaning there is so much more to dependencies, and also we to remember, learn, understand, and implement yet another implementation of React. The more advanced you go into a framework or the more you expect a framework to do for you, the more you are coupling code to a specific way of coding. Solving problems with issues that were created by depending on such a large frameworks, that do things that one could do themselves with a deeper understanding of JavaScript, is not really solving problems but removing a specific set of problems and presenting a new set of problems. Using JavaScript alone, to solve web development issues will in return bring in more issues to solve and create a new web of issues from that. Why all the new API functions? Because if you want to solve problems using functional programming, (like Facebook changing to functional) you then need to write methods that can still provide you previous functionalities that was handled using Class inheritance. It will get messy. I am all for change and innovation... re-inventing solutions that we have already have is redundant. Do we really need hundreds of solutions by frameworks, just to get our work done? I feel that functional programming is the new trend. I am guessing that is why Facebook, at least in part, has decided to solve it's past issues by using a functional approach.
@trisimix4 жыл бұрын
Frank Decker what are you talking about, react is a library
@trisimix4 жыл бұрын
And as cool as functional solutions like elixir are, you cannot create identical front end experiences with them
@compedium4 жыл бұрын
Well put, it feels like I've learned React 5 times in the last couple of years...
@rubayatislam48042 жыл бұрын
This video could have been a lot better if you would have also run the code and discuss what the "this" was doing at the first part of the video. it really helps when you run a code and see the result. I dont know about others, but it would have helped me if you could show errors and what this was referring to in different parts of the code.