This is one video of a larger React Hooks series. In this video, we cover useReducer, which is a very popular hook to manage state. Github Repo: github.com/har...
Пікірлер: 55
@dokedoke04262 жыл бұрын
Every single time I watch this explanation about how data flows in Redux, it gets simpler. Thank you! You are a life saver brother.
@mikeynavarro31952 жыл бұрын
Amazing Video ! Even though I always feel so impatient when watching tutorials in general, I loved what you did before jumping into any code AND your constant references to the visuals when you eventually do get into the code. 10/10 just subscribed
@mickaelrichard72553 жыл бұрын
wow I was thinking I was dreaming when I saw more than one video from you today! You are a real Legend! Thank you!
@cupoflife53782 жыл бұрын
One of the best explanations of useReducer and redux in general. Thanks a lot.
@jennifermagpantay79333 жыл бұрын
When I read on your playlist a video about useReducer in 18 minutes, I thought that could be joke! But I was wrong. I got a course where useReducer was taught in a long, dense and confusing way to understand! Really worth watching and surely way easier to understand! Thanks again!
@abedmugambi2 жыл бұрын
Hands down the Best explanation ever on useReducer! Saved me weeks of stress. Thank you brother!!
@prabhneetsingh132 жыл бұрын
I was stuck on this hook and couldn't get it.. Thanks for simplifying it so much.. Great work brother!!
@sahar61542 жыл бұрын
amazing explanations, thank you so much, I was struggling with useReducer hook a lot, now it's clear for me
@diahrongrismore10543 жыл бұрын
It was a surprise to see content released on the weekend. You awesome, great site, content and Delivery. Like your style!
@Anna369362 жыл бұрын
Absolutely amazing explanation of useReducer, it makes so much more sense! Thank you so much!!
@MightyKingKala2 жыл бұрын
This is best useReducer tutorial ever, thank you so much!
@resulefendiyev1393 жыл бұрын
Can you do redux with toolkit crash course ? I would appreciate that
@evgeniy68823 жыл бұрын
+++
@niklausmikaelson73323 жыл бұрын
+++
@emmanuelkolawole97783 жыл бұрын
Wow, nice video Laith. You just helped me understand a year old misery 👏👏👏👏
@monkeystylle3 жыл бұрын
Thank you for the excellent analogy using Story.. it helps a lot
@RendyEunike3 жыл бұрын
can't wait your video with MERN Typescript + Graphql, really appriciate it! I still looking for the best practices for my self
@susboi1704 Жыл бұрын
Great video👍 been finding it hard to understand this thing
@erictagne88313 жыл бұрын
So well explained! you saved my day
@valeriacorona4246 Жыл бұрын
Wow! it all made sense with the drawings. Thank you so much
@sany2k83 жыл бұрын
Again an awesome video with a great example. Thanks sir.
@RajeshSahu-qp6cc3 жыл бұрын
Simple and easy to understand video sir..
@aprilucid3 жыл бұрын
your contents are sooooo good!!!!! Thanks for sharing!!!!!
@pamitierraenvios82782 жыл бұрын
GREAT WORK! Love the tutorial
@BoxaBole2 жыл бұрын
Recently found your channel, I love the creativity and thought you give into the crash course tutorials, you should make a complete one for Udemy :)
@shaheensiddiqui1952 Жыл бұрын
yes,
@rfryanfavour43692 жыл бұрын
Wow.... lol you are really a fun nice and perfectly teacher ❤ 💻
@ЄвгенійСердечнюк3 жыл бұрын
But the main question is why I should use this reducer instead of useState . what's the difference between these two hooks?
@nagar.apurva3 жыл бұрын
useReducer is preferred over useState when you have some complex logic related to updating your state or handling a complex state (e.g. - state with lots of nested objects). It is also helpful because we don't have to pass down callbacks to deep child components and can instead use the dispatch()
@koti12173 жыл бұрын
@@nagar.apurva so basically useState whenever its possible (simple logic), useReducer when the logic gets more complicated and the state needs to be passed down to other child components?