I’m guessing the 2 people who hit dislike don’t know what React or redux is. That’s about as good of an explanation as it gets
@JaphethAwah7 ай бұрын
Man there are always haters out there, I started looking at redux from code, and most of it made no sense to me till I found his explanations, couldn't be clearer, followed the entire redux series. I think he is quite concise and explains so well, he even explained the word thunk hahaha.. With short and concise videos.
@arsalanahmad18323 жыл бұрын
I learnt redux from this series an year earlier, now I was stuck and was trying to deal with redux ascynchronously, I watched this again and I realized how much this series taught me, the video is still the same but I am with much more knowledge and skill, thanks to this video series and thank you TechSith !
@Techsithtube3 жыл бұрын
I am glad that you keep coming back to watch these videos, I feel great as a teacher.
@shjohnson29413 жыл бұрын
Great... This helped it to FINALLY begin to make sense!
@ruchirai57755 жыл бұрын
Nothing is confusing, Its plain simple and amazing !
@kranthikumar52153 жыл бұрын
You are a real guru of technology sir god bless you for providing such videos sir live long🙏
@Techsithtube3 жыл бұрын
Thanks Kranthi!
@premrajsahu52775 жыл бұрын
i really learn a lot from your tutorials. These are the easiest tutorial available. I have completed one of the top udemy course on react/redux. But this is way better than that. Thanks for all the effort.
@klausheino69866 жыл бұрын
You really made the complex subject seem so simple. I am learning to use redux and thunk and have had my nerves stretched by unclear tutorials, but this one was an exception. Liked and subscribed. Keep going :)
@Techsithtube6 жыл бұрын
THanks for watching Klaus.
@tenzinwoeser68423 жыл бұрын
Love this and the earlier custom middleWare which you created. Thanks
@daviddonadze2216 жыл бұрын
you are my favorite teacher that i never had. Thx for those cool videos
@Techsithtube6 жыл бұрын
Thanks David, Its good know that I am able to channel the knowledge. :)
@ravikamesh47635 жыл бұрын
Actions must be plain objects. Use custom middleware for async actions. This is the error you get if you try to use setTimeout or any async action. Hope it helps.
@kranthikumar52153 жыл бұрын
clean and clear explanation i have ever seen 👌
@Techsithtube3 жыл бұрын
Glad it helped
@noamkleiner87495 жыл бұрын
Awesome tutorial, I'm following the series and learning so quick! Thanks a lot!
@sivamurugans32283 жыл бұрын
Awesome tutorial..! Good explanation
@Techsithtube3 жыл бұрын
Glad it helped! Thanks for watching!
@mallikarjunkittad31235 жыл бұрын
Awesome tutorial, now i got basic redux , THAX lots sir
@edgarnyc5 жыл бұрын
Thanks for the video! Easy to understand, follow, and fully demonstrates how/why to use thunk. Thanks so much!
@kajurajude17533 жыл бұрын
I love your tutorials
@Techsithtube3 жыл бұрын
Thanks for watching!
@nickjunes5 жыл бұрын
It's funny how we have to create all this extra boilerplate just to bury the asynchronous functions more and more without any actual gain.
@subhashgn17753 жыл бұрын
Thank you man for your great effort to give the quality content. I Have question, "Reducers must not do any asynchronous logic, calculate random values, or cause other "side effects" but how these middleware achieve the asynchronous logic integration.
@nomangulkhan6 жыл бұрын
. *You're Great!*
@mridulmishra81666 жыл бұрын
indians are...
@milanpavlovic81418 ай бұрын
I love this explanation
@sharmamanish36 жыл бұрын
Brilliant and beautifully explained.
@Techsithtube6 жыл бұрын
Thanks for watching!
@ATXpert2 жыл бұрын
Really helping me man, struggling to get a job so I'm making a whatsapp project
@trader95594 жыл бұрын
Awesome :)
@huanzhang41105 жыл бұрын
You should probably switch around the names of ageUp and ageUpAsync. Its a little confusing as in the video the asynchronous function is called ageUp, and the synchronous function is called ageUpAsync xD
@sarojdash72103 жыл бұрын
Can we dispatch from a setTimeout in mapDispatchToProps() without thunk middleware ? will it have dispatch as closure property even if we don't use thunk? I just want to understand if we can make async call then dispatch without thunk or not. and if so then what is the purpose of thunk
@xiaokourou3 жыл бұрын
Awesome. Very clear
@websitesandsoftwaresolutio28125 жыл бұрын
Exceptionally well explained ! Cheers Man
@ruchirai57755 жыл бұрын
In love with your react series.Amazing explanation :)
@leannec68214 жыл бұрын
Awesome Tutorial! Thank you!
@nivaech5 жыл бұрын
Awesome series, very helpful. Thank you, jedi
@syedkashanadil72405 жыл бұрын
Thats really impressive.
@umardarazkhan48175 жыл бұрын
you told in this vedio that u are going to make another one in which u would show the get and post on server with redux implemented .. where is it sith?? can't find it ? by the way u are running an awsome tutorial series on ur own
@draganmilunovic25256 жыл бұрын
You are the GREAT teacher. Thank you very much :))))
@ГеоргийРукомин5 жыл бұрын
Thank you.
@emanuel52075 жыл бұрын
how does 'dispatch' parameter come in on ageUp function? export const ageUp = val => { return dispatch => { setTimeout( () => dispatch(ageUpAsync(val)), 2000 ); } };
@sivanesh-s5 жыл бұрын
That will be Provided by the redux-thunk middleware. Which gets this function returned in ageUp() and calls it with dispatcher argument
@djslimcodes23375 жыл бұрын
@@sivanesh-s Is it necessary to call it dispatch?
@sivanesh-s5 жыл бұрын
@@djslimcodes2337 Not really it is just the argument. You can name it anything
@zation995 жыл бұрын
@@sivanesh-s Exactly, for example the video named it 'dispach' which I believe is a typo. But that well (accidentally) illustrates the idea that it is just a parameter name XD
@nitishkesarwani46994 жыл бұрын
Hello, While going through this tutorial, I had a doubt. That is... we are doing all of this just to make things async., we captured the action, now we said that (it's from your example) if we will first save the value to the server and then will update the state, but in this case: suppose the current state's value is 5 (which is showing on UI) and user clicks the ageUP button, then user would like to send the updated value to the server (which will be '6' in this example), but the updation will only take place when the action would reach reducer. Before updating the state, we have called the server via middleware...to save the value (which will be 5 not 6) How will I be able to send the updated value to server ?
@Techsithtube4 жыл бұрын
in that case you dont update value in the reducer. you simply set the new value in the reducer. this way the backend and frontend is sync.
@jiahaoyu8555 жыл бұрын
You are the best! If you have made some udemy class I would buy it!
@cezar007dead85 жыл бұрын
Grate job! Awesome tutorial!
@miroslavvalkovic91442 жыл бұрын
Can you point me to that "Server interaction video" please? thank you
@aysommer5 жыл бұрын
Thanks for you good video. It helped.
@infotainment71234 жыл бұрын
when you imported actionCreator from actions... i am getting error on this.. apparently there is no actionCreator in actions.js
@jojiharada4 жыл бұрын
getting the same. will let you know if I figure it out.
@jojiharada4 жыл бұрын
change the import statement to: import { ageUp, ageDown } from './store/actions/actions';
@jojiharada4 жыл бұрын
Also just noticed that he adds: import * as actionCreator from "./store/actions/actions'; which solves the problem.
@AdityaNaik126 жыл бұрын
In setTimeout why we need to add dispach, can we just call ageUpAsnc, dispatch is already there in mapDispachToProps. Tried to figure it out but still not getting it.
@Techsithtube6 жыл бұрын
basically for async actions, we need to dispatch an event from mapDispachToProps then catch it with the redux thunk, and finish the async evert ( which is just settimeout in this case) and then dispatch it again to it with reach the reducer.
@aishwaryshah38234 жыл бұрын
Kem cho sir ? tame react easy kari di du :) Thank You. Sir tame tips and tricks regarding video banao ne on react. please
@pkmkb_03 жыл бұрын
muze south ind laga
@johncreativeproducts56886 жыл бұрын
NICE TUTORIAL!
@atul8035 жыл бұрын
why state. loading is not mapped with reducer state{}. Please confirm, without mapping in reducer we are changing the state true. Is this the correct way?
@kianitify6 жыл бұрын
that was awesome
@salahmadih84785 жыл бұрын
You are the best, thank you
@ivanbadyulya55625 жыл бұрын
What extension do you use to highlight a code block? :)
@Techsithtube5 жыл бұрын
manual :)
@venkatpenubothu48055 жыл бұрын
Great!
@leartmorina50375 жыл бұрын
Hey I'm struggling with redux my question is if i say switch(action.type) { case goap: return newstate default: return state } my question is when i dispatch the action goUp(1) i got count: undefined why this happen to me
@shijunli6 жыл бұрын
Good explanation
@thanvezahmed38666 жыл бұрын
Any plans of you doing videos on Epics redux observable
@Techsithtube6 жыл бұрын
Not at the moment but I will put it in the queue of videos to make :)
@NandhuKishorReddy5 жыл бұрын
Please help me..While refreshing page my redux state is clearing why....
@thanvezahmed38666 жыл бұрын
Hi at 5.18 Ur import action creater from store/action/action Wer is this action creation declared in that file?
@Techsithtube6 жыл бұрын
If its a default export you can name it whatever when you import it. Basically actionCreater becomes action
@thanvezahmed38666 жыл бұрын
Got it. Thanks buddy :-)
@djslimcodes23375 жыл бұрын
at 14:46 can we place dispatch(loading()) above return? i guess we cant but why?
@HoangVu-lr8mh4 жыл бұрын
As you could see, dispatch is a parameter which is a function, so if you place dispatch(loading()) above the return statement, dispatch is undifined.
@agalligani4 жыл бұрын
Where is the next video?
@nanasarathi6 жыл бұрын
Awesome
@gottedev795 жыл бұрын
you are awesome
@gottedev795 жыл бұрын
got a subscriber
@Techsithtube5 жыл бұрын
Thanks Dav for subscribing. :)
@iliketocode69863 жыл бұрын
Isn't a thunk just a promise then?
@deathmachine8084 жыл бұрын
Yeah but you're not actually awaiting it in the calling code... so you don't know if / when if finishes / succeeds or fails...
@sawyer3035 жыл бұрын
Hurts my ears when I hear him say basically ^^
@sawyer3035 жыл бұрын
Beisicaliii, I'm fkn dieing right here
@sawyer3035 жыл бұрын
Again :)))
@sawyer3035 жыл бұрын
@techsith lmgtfy.com/?q=basically+pronunciation Other than this, thank you! Lovely content ^^
@indowestlife6 жыл бұрын
*dispatch
@bleonmorina29865 жыл бұрын
can i translate your video in albanian language?
@becky2casandra8105 жыл бұрын
i hate small screen :(
@Techsithtube5 жыл бұрын
Sorry, its very hard to display this in a zoom . Were you watching on mobile device?
@einfacherkerl32799 ай бұрын
tutorial is good but honestly, redux is outdated like a dinosaur. there are better options now like reactquery and whoever is learning redux now must have been living under a rock
@rommyarb5 жыл бұрын
Please fix your spelling sir
@Techsithtube5 жыл бұрын
Unfortunately, I can't fix it after the release of the video. But, I can be careful next time. I am not a great speller but I make up the short comings with my coding skill. :)
@hovhannes46284 жыл бұрын
What mistake is it about, can you indicate the minute, Please?
@dhairyadudhatra2783 жыл бұрын
volume is too LOW
@handsome_man696 жыл бұрын
seen
@Techsithtube6 жыл бұрын
Thanks for a comment felix. :)
@handsome_man696 жыл бұрын
@@Techsithtube youtube is really bad at tracking which videos I have seen, so I put a "seen" in all the videos comments i see, so i know i've seen it
@Techsithtube6 жыл бұрын
:) its a good idea. You can also create a playlist of seen videos .