I used to learn new tech with your video. Which are really helpful. Keep posting for us .
@13Macke376 жыл бұрын
Why do we have to copy the state in the reducer on every action when we created a newState variable?
@maramahmad40614 жыл бұрын
thank you for your effort it is the best series Please GO AHEAD to learn more from you
@Raj9x73 жыл бұрын
surprisingly this tutorial makes redux now so easy. Thank you.
@yourbrother95182 жыл бұрын
Thanks a lot sir you made my day. I was strugling from 3 days and eventually you solved my problem. Many thanks Stay safe and happy.
@brindch83726 жыл бұрын
Efficient explanation! Thank you so much! Btw, Just to share somethin and also to practice, I add another action which is 'CLEAR_HISTORY' to clear all history.
@learnkidsonline97322 жыл бұрын
Superb explanation! Great teaching skills!!!!!I am a big fan of you!!!
@ruchirai57755 жыл бұрын
Sir, Before looking at your tutorial Instead of redux I chose mobx because I got scared of redux :) But now I am able to write redux Flawlessly !Thank you for all your videos ! Can you please make a video on webpack, writing own webpack.Why webpack not grunt and gulp
@Techsithtube5 жыл бұрын
Webpack is much comprehensive it does lot of thing compare to grunt which only allows you to write script.
@sachinsehgal70964 жыл бұрын
@@Techsithtube yes sir, request you to share a video on Webpack too
@rajeshkanna95022 жыл бұрын
I love the thumbnails
@nileshsolankar2273 жыл бұрын
Best One..Nicely Explained Sir. Thank you very much.
@Techsithtube3 жыл бұрын
You are most welcome. Thanks for watching!
@patrycjaadamczyk45215 жыл бұрын
Thanks for this series, it helps a lot to understad what really redux is about.
@akashgupta44565 жыл бұрын
Superb !!! Really appreciate your effort, Sir
@Techsithtube5 жыл бұрын
Akash, Thanks for a nice comment
@HoangVu-lr8mh4 жыл бұрын
Many thanks for your video. But I'm slightly confused at 12:46, why inside onClick event we would use an arrow function instead of calling this.props.onDelitem(el.id) ? I'm really looking forward to your answer.
@Techsithtube4 жыл бұрын
If you dont need to pass any parameters you can simply use this.props.onDelitem , as you can see we are not executing the function here. but if you want to pass a parameter you have to execute the function. so you have to use an arrow function and inside you execute the funcction so on the click event the callback function gets executed and then the onDelItem gets executed.
@burningraven066 жыл бұрын
Hi, Is there anyway to update the InitialStore?
@SunilSingh-vt2pw5 жыл бұрын
Hi Sir, There is an error in this tutorial in a switch condition because control never goes to break if you will use return.
@Techsithtube5 жыл бұрын
That is true. thanks for pointing it out.
@ThePodda334 жыл бұрын
your basecode in your repo no longer works i get a TypeError: Cannot read property 'age' of undefined when trying to run the app
@vishwanatheswarakrishnan72796 жыл бұрын
Very comprehensive video ! Very nice ...
@patilmrugesh5 жыл бұрын
Very well explained Great job! Truly appreciate
@Techsithtube5 жыл бұрын
Thanks for watching Mrugesh!
@davinci38904 жыл бұрын
for the history, array spread could have perhaps being used right? Like 'history: [...state.history, newValue]'
@abhayagarwal50974 жыл бұрын
Thks a lot man,I learned basics of redux in a day because of you :-) and these vids are teaching me a lot of useful stuff
@Techsithtube4 жыл бұрын
Happy to hear that Abhay!
@aqibsaeed32294 жыл бұрын
Thank you Hemil sir.. :)
@satyasahoo264 жыл бұрын
Thx for this amazing redux tutorial
@adambotha014 жыл бұрын
Nice vid, very helpful. Thanks man :)
@Techsithtube4 жыл бұрын
Glad it helped!
@akash_gupta_20904 жыл бұрын
Mst
@javohirsayfullayevich71274 жыл бұрын
this is short clear tutorial thank you bro. when I'm working with api I'm encountering problems about CORS policy, so can make a vedio for this theme too, thanks again
@veronicasoloduha30095 жыл бұрын
this is an amazing tutorial!!!
@parushanaidoo91832 жыл бұрын
thank you for this video!
@Techsithtube2 жыл бұрын
Glad it was helpful!
@marcphilippe74176 жыл бұрын
Kind of a noob question, but just to clarify: if in the reducer you return{ ...state, history: newHistory}, then the state variable (which represents the previous state) already has a different history property, right? So by re-declaring it after the spread operator, you are overwriting the property because it has the same key?
@Techsithtube6 жыл бұрын
Yes, that is exactly what is happening. I am overriding any property called history. if it doesn't have that property it will create a new one.
@Mohamed-uf5jh5 жыл бұрын
great job , and goog explain , I like That
@issaissifou35794 жыл бұрын
Nice tuto!
@mansurhaider91635 жыл бұрын
great explain. you made my day easy :)
@Techsithtube5 жыл бұрын
I am glad that your learn something from this. :)
@narekdanielyan88104 жыл бұрын
Could you use spread operator instead of concat function in reducer?
@Techsithtube4 жыл бұрын
Narek, you could however, it all depends on what you are concatenating and how. if you try to concat "Hi" , it would keep it as string "Hi" but with spread it would convert to ["H", "i"]
@aishwaryadash33594 жыл бұрын
Cannot read property 'age' of undefined I am getting this error again and again. Please help me out.
@Techsithtube4 жыл бұрын
Aishwarya, it seems the state or object that you are trying to get age from , doesnt exist or cant be access from that scope.
@rupjuly19855 жыл бұрын
Buddy!!! U are master. Thanks
@MultiUlme6 жыл бұрын
I see that you in the reducer are setting the age with action.value. Where do you set that value so you can use it in the reducer with action.value?
@MultiUlme6 жыл бұрын
I figured it out. I had to set in mapDispatchToProps from dispatch({type: 'AGE_UP'}) to dispatch({type: 'AGE_UP', value: 1}). Now it works with action.value in the reducer.
@Techsithtube6 жыл бұрын
Yep. That is the answer. You have to dispatch it so it will reach the reducer.
@androidgeeking6 жыл бұрын
Amazing work
@rushansakhib5 жыл бұрын
techsith, why you haven't use uuid pack to generate ids?
@Techsithtube5 жыл бұрын
Objective is to make things simpler , one concept per video. users can learn other things like generating ids separately
@angelc95574 жыл бұрын
Sir great
@ishimdarahamad86926 жыл бұрын
Awesome Sir...
@mahendrayadav50605 жыл бұрын
very nice video!!!
@arshgill656ful4 жыл бұрын
if we use saga, how we pass id to the new function
@arshgill656ful4 жыл бұрын
never mind, worked by using props
@vivuuc42094 жыл бұрын
love it !
@marthyh4 жыл бұрын
Thank you very much !!
@prashantrewatkar62746 жыл бұрын
very Nice
@ГеоргийРукомин5 жыл бұрын
Thank you.
@pisanghangus25 жыл бұрын
you change if statement from last video to switch statement without warning :)
@Techsithtube5 жыл бұрын
Editing magic :)
@Akil37924 жыл бұрын
Where have you explained about immutability
@dhananjaymenon36015 жыл бұрын
Why is immutability so important, doesnt it increase the memory used
@Techsithtube5 жыл бұрын
It does , that is the redux concept. However if you use mobx you dont need immutability.
@achillles68383 жыл бұрын
Why do we need to update it immutability???
@rogerodipo34995 жыл бұрын
And when I..................... click on the Age Down button, the age decreases.
@nanasarathi6 жыл бұрын
Awesome
@anatoliystukota57315 жыл бұрын
age decreasing button increases age :(
@logs5 жыл бұрын
Life doesn't want you to get younger.
@infotainment71234 жыл бұрын
how is this called immutable way
@vineethreddymaryada83875 жыл бұрын
Everything is great and thank you so much.
@Techsithtube5 жыл бұрын
Vineeth, there are some things I can change and some you cant . like my face, my accent. What is about my accent that is problem for you?
@vineethreddymaryada83875 жыл бұрын
@@Techsithtube I am so sorry, I meant no offense.
@timokock77154 жыл бұрын
sexy tutorials...heheheh oh no techsith tutorials sorry. Nice men, thanks a lot for your effort. Awesome videos