You could do it with redux persist to keep the store, would that be great? github.com/rt2zz/redux-persist . Thanks, amazing tutorial
@chubbyBunny944 жыл бұрын
the starting files branch looks finised
@the_full_stack_junkie4 жыл бұрын
Yes sorry about that.
@abodmedia3 жыл бұрын
you said u was gonna give us the code without redux in it
@the_full_stack_junkie3 жыл бұрын
Ya sorry for that only realized a while after posting i never made starting branch
@thedevdj3 жыл бұрын
I was losing my mind trying to understand other tutorials on redux before watching this one. You gave me so much joy... God bless you for this.
@subramanyak61873 жыл бұрын
this was the most amazing lecture I listened to till now.
@the_full_stack_junkie3 жыл бұрын
Thanks champ
@alexmai27762 жыл бұрын
If you are new to Redux, this video is actually all you need. Helped me so much in my Redux project. Got clear explanations and the video length is perfect. Appreciated and subscribed xD!!!
@franciscastro58372 жыл бұрын
Sir you have my respect, I watch many videos about redux and your explanation is top-notch. For me as a beginner I can easily understand what you are teaching compare to other channels their just blasting their keyboard and not explaining it. Thank you for your effort.
@warrenprezydent20103 жыл бұрын
Bro Redux was very hard for me until your video. Thanks to you, I feel more confident in using this technology. Now I can see a lot of advantages of using it.
@the_full_stack_junkie3 жыл бұрын
Very glad i could help champ
@athulpk85303 жыл бұрын
bruhhhhh where was this video this much time , i wasted lot of my time watching useless tutorials and understand nothing but this video teach me everythinggggggggg thxx broooo next time if i have a doubt first place to visit is here
@the_full_stack_junkie3 жыл бұрын
Awesome man! So glad it helped
@ramzihammouda39383 жыл бұрын
Great job. btw an hour is not considered long especially when you covered a lot of things in detail. It was really helpful. Keep up the good work bro
@donovanshane22913 жыл бұрын
You've gained a subscriber. Great tutorial, I learned a lot. Thank you!
@duredurrani3 жыл бұрын
Absolutely Masterpiece. I have watched more than 30 Videos on Redux all that all are just waste of time. They are designing HTML pages in Redux Tutorial and on other side you just focused on redux 🔥 I loved it. Thank you for valuing my time. Appropriate. Liked shared subscribed
@the_full_stack_junkie3 жыл бұрын
Wow thanks glad it helped you out!!
@PrinceKumar-vp9ou3 жыл бұрын
The way you implimented everything was awesome.... Thanks for giving these type of knowledge🤗🤗🤗
@codoof13 жыл бұрын
amazing tutorial dude, you really helped me figure out redux! lots of love
@the_full_stack_junkie3 жыл бұрын
Awesome champ glad the video helped
@dbones-aow33 жыл бұрын
Damn, so clear and straightforward. Keep them coming please
@SimPwear843 жыл бұрын
Dude! I learned a lot from this, your tutorials are amazing 🔥🔥 Keep up the good work. Greeting from Cape Town ZA
@the_full_stack_junkie3 жыл бұрын
Glad to hear it!🤓
@ravindrakumarkushwaha15642 жыл бұрын
You are very best as a teacher, thanks for your time❣
@ramnareshram743 жыл бұрын
Very good implementation of shopping cart in React Redux. Thank you.
@diegocamy84704 жыл бұрын
Hey man, what's up? Great video, I just want to thank you for creating such an amazing video like this one to help other people
@the_full_stack_junkie4 жыл бұрын
Thanks for the comment really appreciated it! So glad you found it helpful🤓🙏
@ahanamallik3403 жыл бұрын
thanks a lot for such a clean, comprehensive and informative video
@hansalucas3 жыл бұрын
man I owe so much to you, I hope life pays you back 10 times more and I cant wait to be able to retribute to you when I get a job. Thank you!
@the_full_stack_junkie3 жыл бұрын
Thanks champs really appreciate you positive comment.
@genshinnoob.3 жыл бұрын
Awesome explanation that explained the complete cart setup using redux properly...
@shaiksamiulla69233 жыл бұрын
The best video to learn redux
@akhilbisht3 жыл бұрын
Your channel should have more subs. That was an awesome and on point video.
@the_full_stack_junkie3 жыл бұрын
Thank you so much
@debaratighatak22112 жыл бұрын
it was a such a great tutorial, learned a lot✨
@swagataSR4 жыл бұрын
wow man..Your channel is an absolute gem for beginners like us.. Keep up the good work .. Really appreciate it :)
@the_full_stack_junkie4 жыл бұрын
Thank so very much going to upload more from next week thanks for this comment
@blank27823 жыл бұрын
Great video. Thanks for all your hardwork
@carolinaloaiza29242 жыл бұрын
You are very good as a teacher, thanks for your time❣
@celeis1002 жыл бұрын
Well paced, very informative tutorial, thanks!
@the_full_stack_junkie2 жыл бұрын
You are welcome
@fragrantbloom2 жыл бұрын
Holy shit this was such an amazing video! This was not long at all, you explained everything in detail and on point. My only suggestion would be, please increase the font size so I can watch from mobile as well. Other than that this was amazing. I am going to watch again while working on my project now. Thank you :)
@bingers_tv4 жыл бұрын
Great video, thanks! This has really helped clarify this process for me
@the_full_stack_junkie4 жыл бұрын
So glad you found it helpful
@shahzan5253 жыл бұрын
In 1 hr. What would you expect it's awesome ....👍👍
@sarojghising98773 жыл бұрын
Thank you so much sir. I learned a lot from you. I understood mapDispatchToProps mapStateToProps now. Support from Nepal .
@the_full_stack_junkie3 жыл бұрын
Redux Hooks are very nice as well and will make even more sense afrer understanding this video. Checkout Redux hooks. useSelector, useDispatch works lots faster
@paulecampbell21 күн бұрын
Thanks Lloyd, nice video!
@purvatekade30093 жыл бұрын
Great tutorial man!!
@the_full_stack_junkie3 жыл бұрын
Thanks I appreciate it!!
@fixcodedesign21653 жыл бұрын
nice explanation I have ever seen. I watched so many video. sometimes what they explaining they don't know. Wish you good luck. Need another video for fetch data from the server and update
@fixcodedesign21653 жыл бұрын
can we get a video about redux-thunk with axios ?
@noobCoder263 жыл бұрын
Thanks for the video sir ..I really appreciate ur effort u made redux look easy >> Subscribed liked ,commented and also shared
@the_full_stack_junkie3 жыл бұрын
Wow thanks so much champ really glad you found it helpful. Hope to contiue making helpful video content
@resildacela15853 жыл бұрын
Great tutorial! It helped me a lot. Thank you!!
@the_full_stack_junkie3 жыл бұрын
So very glad
@khoilam75693 жыл бұрын
nice bro. I learn a lot from u. thanks so much
@the_full_stack_junkie3 жыл бұрын
So glad thank for comment
@takurofisayo56012 жыл бұрын
You made redux look easy🥺
@שנירחכמון3 жыл бұрын
Thank you, you helped me a lot !!!
@HashtagObi3 жыл бұрын
don't apologise for the long video! just finished as i need the logic for an interview... i will come back in a week and let you know if i got the job!! (fingers crossed :D)
@subramanyak61873 жыл бұрын
did you get?
@oluseunakintayo30603 жыл бұрын
Exactly what I need!
@tusharvashistha35024 жыл бұрын
your video is just perfect!!!,thanks for this video.
@the_full_stack_junkie4 жыл бұрын
Awesome glad you liked it. Thanks for the positive comment 🤓💪
@KennyCha873 жыл бұрын
I want to say thank you! I have watch couples videos but still unable to get understand the state management in react, since I learned VUE first. The logic is the same but I would say the implementation of redux is more difficult than VUEX. But I fully understand after watching your video. It really helps, thanks for providing the great tutorial!!!!!
@DcentMusic3 жыл бұрын
Thanks Brother, Brilliant Explanation🤯
@ol11753 жыл бұрын
Thanks , Would be really nice to see redux-toolkit
@nethreen143 жыл бұрын
Very helpful. Thanks for this
@sohammadhav36684 жыл бұрын
this was super helpful! thanks a tonne!
@the_full_stack_junkie4 жыл бұрын
So glad you found it helpful, thanks for the comment🤓
@Dipenparmar124 жыл бұрын
Thanks for such a amazing video (plz don't worry about length its required because you covered almost all topic ) pretty much happy with this video....
@the_full_stack_junkie4 жыл бұрын
Awesome thanks for the comment glad you found it helpful💪🤓
@huseyinOzdogan833 жыл бұрын
Thank you brother, please keep going
@digigoliath3 жыл бұрын
Awesome!!! TQVM!!
@bikramghimire65983 жыл бұрын
00:52:50 why to add other dependancies like total, price, settotal, setprice if cart along can work?
@shaikzuhair85373 жыл бұрын
Good explanation
@125siddheshmhatre63 жыл бұрын
No one explain like this ❤️❤️❤️
@khoilam75693 жыл бұрын
i want to asked you. at the 45:16p. i don't know at setCartCount(count) }, [cart,cartCount] ) ......***(cart ,cartCount)=> have what effect??***. am try delete this but nothing happen.
@asfandkhankhan3 жыл бұрын
I just want to say keep going! I really really like your teaching method. You are an amazing dude.
@the_full_stack_junkie3 жыл бұрын
Wow thanks so much champ really appricate this comment.
@LyndaChiwetelu4 жыл бұрын
Solid tutorial! thank you!
@the_full_stack_junkie4 жыл бұрын
Thank you 🙏
@tahanamdar93223 жыл бұрын
That's Awesome
@ben-cb5er4 жыл бұрын
awesome video thank you! please do more videos on react or react/redux but from scratch with css....that way we learn more and easier to understand. thanks bro
@the_full_stack_junkie4 жыл бұрын
I made a video building a project from scratch hope you enjoy!
@petriwork774 жыл бұрын
great stuff man! thank you!
@the_full_stack_junkie4 жыл бұрын
My pleasure hope you found it useful
@petriwork774 жыл бұрын
@@the_full_stack_junkie bro 1 question pls ? why do i see this ? Failed to compile ./src/redux/store.js Module not found: Can't resolve 'redux;' in 'D:\petry\shop\src edux' i think i installed eveything just fine.
@the_full_stack_junkie4 жыл бұрын
I think this just has to do with the path you are specifying just make sure. Discord Link: (please send screen shot of further errors or issues here so that i can properly see and help) discord.gg/fGcx4whb
@petriwork774 жыл бұрын
@@the_full_stack_junkie thanks for the fast reply bro, i was waiting in front of the pc :) will double check now.
@petriwork774 жыл бұрын
did fixes from stackoverflow but none works.
@isaacnavarro46143 жыл бұрын
Muchas gracias!
@asifurrahman54362 жыл бұрын
if we refresh the data gone, so how do we save the current state even after reloading the page
@aneelachuhadhry32404 жыл бұрын
Best tutorial thanks a lot
@the_full_stack_junkie4 жыл бұрын
Thank you so much i hope to make many more of the best🤓 thanks for the positive comment!
@messyice25242 жыл бұрын
When i click add to cart only the qty shows in the cart array. i have [...item, qt 1] set up in the reducer. Need help.
@aestebanclchannel894 жыл бұрын
Great job!
@the_full_stack_junkie4 жыл бұрын
Thank you🙏🤓
@sweetcatto2 жыл бұрын
Hi, is there any way how we can implement the 'Empty cart' functionality? I tried but it emptied my cart as soon as I click on the cart tab.
@mateogalic71283 жыл бұрын
Really enjoyed tutorial! Thank you so much. I have just one question. We can now use hooks useSelector and useDispatch instead of connect function?
@the_full_stack_junkie3 жыл бұрын
Yes that is correct and i suggest using the hooks instead this video was done a while back i should actually update on with hooks. But I am glad you found it helpful
@mateogalic71283 жыл бұрын
@@the_full_stack_junkie Alright, thank you very much :).
@umerarain68143 жыл бұрын
How to set API data in Product [] array inside Reducer
@toluwalaseogunsola49722 жыл бұрын
Would this method work with graphql or other API’s
@the_full_stack_junkie2 жыл бұрын
Yes graphql just way of ferching data. Check out apollo with graphql.
@chandrasekher20911 ай бұрын
From my side it saying that actions may not have undefined type property please can you tell me i strucked here. And one more is my action-types are importing from non-default exports can you please tell me i am waiting for your response
@SanjeetCoder4 жыл бұрын
hey, Your git file is not working properly, the page is coming with fully distorted
@the_full_stack_junkie4 жыл бұрын
did you make sure you download the file correctly i just tested it by downloading the files and running npm install and all seems to work find on my side.
@SanjeetCoder4 жыл бұрын
@@the_full_stack_junkie don't know, why i am getting distorted output, Actually when I used npm install I was getting error so I downgraded react-script version to 1.1.4 and after running npm start, I am getting distorted output
@SanjeetCoder4 жыл бұрын
I download your git repo file two times but same output
@the_full_stack_junkie4 жыл бұрын
I did not have to downgrade my react scripts package i just left it becuase it still works even with that vulnerability. If you would to build the project using create react app it should work fine. I am unfortunately not going to manually go and update the repos for all my videos every time a new React version or ipdate is released
@ivanbozveliev53352 жыл бұрын
Very good video thanks! But how can i embed dynamic data in products using fetch?
@RavindraSingh-lp9pl2 жыл бұрын
cart has empty array [],howcome qty came ? please clear my doubt?
@mariamkulumbegovi90753 жыл бұрын
Great tutorial, thank u for the effort. One thing though, if i want to add for example color and size attribute in product when the user chooses from product page, how to implement that in redux
@kenaida223 жыл бұрын
Hello, I was unable to locate Redux Devtools extension for Chrome in 2021?
@umerarain68143 жыл бұрын
If am using API initailstate{ product[] } then how get product ? Same way?
@blah99603 жыл бұрын
😍😍😍
@roei1334 жыл бұрын
How did you make the trash can? I really liked the animation .. can you show me please?
@kag36703 жыл бұрын
Hi, awesome content, why do u choose to pass ids in add activation if u have access to whole product object? you wont have to find it by id later if its already passed as whole.
@nihelboujelben24783 жыл бұрын
thank you for this video, but when i am trying this code i have problem the basketProsps in console is undefined
@alexandergorin99634 жыл бұрын
Everything is good, but how to change button from "ADD TO CART" to "ADDED" to see the status of products: which ones were added to the cart?
@the_full_stack_junkie4 жыл бұрын
Hi glad you liked it. Well you would have to do some check in the cart state to see whether it is already in there and then change the button text conditionally
@bwwbali73723 жыл бұрын
I have created an "ItemDetail" functional component which I "connect" export and from which calling and "add to cart" dispatch method gives me "(someAction).default is not a function error" . Any help ?
@bwwbali73723 жыл бұрын
Maybe it would help someone. I finally resolved the issue by just differentiating the action object imported from the name of the function object in ItemDetail that is fired when "Add To Cart" is clicked/pressed(react Native)
@dashman20624 жыл бұрын
Hello I am trying to follow this tutorial, I just downloaded the starting code and there are no images? Where did you get the images and where did u put them? Also in Cart.js it says item is undefined on this line:
@MrKrzysztof133 жыл бұрын
I was having the same issue, did you end up fixing it?
@dashman20623 жыл бұрын
@@MrKrzysztof13 no sorry:(. I moved on to something else in the end.
@priyatam173 жыл бұрын
thanku so so so .,.much
@Kermin003 жыл бұрын
Yeah, and from where i should take all of these starting files? Because on github there's a complete project.
@125siddheshmhatre63 жыл бұрын
Thank you soo much❤️❤️
@shakibahmed86984 жыл бұрын
Nice Video great keep going. Can you convert vanilla redux to redux/toolkit. I hope I will get a good answer.
@muratwes234 жыл бұрын
That was brilliant tuto brom well. Also is ur keyboard logitech? If is not can you share!
@the_full_stack_junkie4 жыл бұрын
Thanks flad you found it helpful. Yes it is indeed logitech😂👌
@sedghianikhouloud81534 жыл бұрын
please how to initialize products from axios
@the_full_stack_junkie4 жыл бұрын
If your products is in your database you will have to load the data from a useEffect hook. If you need help I will send you my discord link and I will be able to help you from there thank you for the comment!
@sedghianikhouloud81534 жыл бұрын
@@the_full_stack_junkie i will be pleased if I can share my code in discord , but I'm using class component not hooks , I can use componentDidMount in reducer file ??
@the_full_stack_junkie4 жыл бұрын
Oky I will send you my discord details asap💪🤓
@the_full_stack_junkie4 жыл бұрын
But you will use componentDidMount inside of your component. And then call your action from there but if you use axios you will have to add redux-thunk to your store to allow async code in your actions, I will show you as soon as I am at my computer
@the_full_stack_junkie4 жыл бұрын
discord.gg/JUHQpUh Link to my Discord channel
@aminatmoldalieva63852 жыл бұрын
It is really useful but I am stuck... I don't know why but I can not show the data by mapping the products. how many hours I am stuck
@mdmustaqahmed53912 жыл бұрын
hello sir.... great video ✨. but using useSelector and useDispatch things get little easy i guess because lot of people know redux working cycle so...
@callitservices26403 жыл бұрын
Uber Helpful, Are you in South Africa? Im about to use everything I just learnt! Whats Up from JHB South Africa!
@the_full_stack_junkie3 жыл бұрын
🇿🇦✌
@tech-trident16802 жыл бұрын
how the data is persisting here can you please tell me ??
@newssquad43464 жыл бұрын
you are awesome sir
@the_full_stack_junkie4 жыл бұрын
@News Squad thanks so much for the positive comment 🤓
@madengineers41834 жыл бұрын
@@the_full_stack_junkie Your Welcome Sir
@sethyates8092 жыл бұрын
Really great video, helped me so much! One question though, since React Routing v6 is out there is no more Redirect. How would you do change your code to fix that? If anyone could help me out with that, that'd be great.
@shaikhshoaib19892 жыл бұрын
I am getting error at {product.map} the error says cannot read properties of undefined ('map') can someone help me
@messyice25242 жыл бұрын
you need to set product into an array {product:[ ] }
@stafnykarkada33304 жыл бұрын
The video was great, wish you had given the starter files too
@the_full_stack_junkie4 жыл бұрын
Glad you liked it. Totally forgot about adding the starter files to the git repo, sorry about that. I will definitely keep this in mind for future videos👌
@stafnykarkada33304 жыл бұрын
@@the_full_stack_junkie Thank you!
@soheiltehrani88343 жыл бұрын
hi thank you!
@the_full_stack_junkie3 жыл бұрын
All good champ. Hope you check out my newer videos their i use redux hooks which are pretty awesome🤘