Every think is working fine but after refershing the page i am getting an error Uncaught TypeError: Cannot read properties of undefined (reading 'map')
In 33:38 min, Don't get confused guys. just change, This line, const products = useSelector((state) => state); to const products = useSelector((state) => state.allProducts.products); Thank me later. Maybe somehow that part was cut.
I have watched tonnes of videos on react redux, I have to say this is one of the best. So captivating. It was a case of you blink you miss. There was no confusion. Everything was so clearly explained. 51 minutes with other videos was a lot but with this one it happened so fast. Thank you for everything. You got a new subscriber.
I have seen lots of youtubers just going through basics without going in depth practical implementation when it comes to redux but this tutorial really helps me grasping the most out of it
I really enjoyed Dipesh's demeanor (calm, positive), and it was a solid walkthrough. That being said, I am really jealous of all these over-the-top positive comments. I didn't notice many explanations, mostly I was just told to copy his code. So if he explained stuff to the rest of yall that made redux made sense, I missed that part. As I did my best to follow, my code kept throwing errors and had different formatting, and I was at a total loss to understand where these errors came from. Not understanding the code made debugging difficult. I found myself copying his code provided as my debugging strategy, and at times, I was so lost, that somehow the bugs/errors persisted after I thought I had thoroughly replaced my code with his.
I belive this video is not for beginner level, before watching this we must have basic knowledge of redux. Moreover it felt like to learn a pattern to code with redux then the actual redux core concepts. So I recommend to watch any other video if we have no idea about redux or on how it works.
If anyone stumbles across this video now, the react-router-dom is now using {Routes} instead of {Switch} and as a parameter it doesn't accept component={} instead it's element={}
Thank u so much, I went through a lot of videos, tutorials, and docs, but no one does any practical implementation like yours. It's very much helpful for me. The way you explain redux without throwing jargon is very very useful. The whole basics of redux is clear in my head now. Thanks a lot again for making awesome content.
Thanks Dipesh, it was really good for refreshing my Redux concepts If you are struggling with React Router V6 then just replace the code in App jsx with the below code and it will work for you function App() { return (
404 Not Found
); } PS: import what u have used import { BrowserRouter, Routes, Route } from "react-router-dom";
Fantastic Dipesh !!! your teaching skills are really good. I have been a trainer from past 8 years, but couldn't find an easy way to explain redux. Finally, your 50 min video solved my problem. Thanks a ton !!!
So Smooth 😻 I thought react-redux is Hard to understand But after watching this tutorial, it's not that much hard Thanks!! Waiting.. for more Tutorials
I really enjoyed this video. You explained everything so well. Redux is complex but the way you teach makes it so much easier to understand. I have used redux in previous projects of mine but just needed a refresher. Thank you!!!
Dude, I can't believe I have gone through this video in a single go without any distractions. Such an awesome refresher video for redux and Thanks a lot. Keep coming up with more videos on React and Redux.
Was looking forward to a really well structured and straightforward material to learn Redux, and this is what I was expecting. Thanks a lot, Sir!!! Please do continue helping us.
I have watched several react redux video to get basic understanding and flow of redux but could not get it and the videos were very long , thank you for making this video. Sir you have made this video in such a way that it is so easy to understand. I would recommend this video to everyone who is learning react.Thank you sir !!
That was so cool! You are brilliant! It was fun! Entertaining! and really informative. I have subscribed and I look forward to watching a lot more of your videos!
This is one of the best video on Redux i have watched on youtube. Thanks a lot. Please create more project videos like this. Please create a project on making POST request to any api also (some CRUD operation application if possible so that data also persists after reload)
Thanks Dipesh Malvia, For providing us the source code to study further and understand the concept by changing your source code. Short and to the point video. i am searching this type of video from a long time. Thanks again.
I have seen a lot of videos about redux everyone explaining only increment and decrement operations but after watched this, I got clarity about redux on larger applications and one more thing the way of explanation is too good enjoyed it keep rock bro😇
Seriously sir, Got so much of confusion in learning redux. How to use redux when api call etc. etc. Finally I end up with your tutorial of learning redux. Thanks for the clarity in redux you gave via this project. This really nice for whoever trying to learn redux. Personally I learned a lot.
if anyone get stuck with an error for 'Switch' & Route component.. 1. Switch is no more supported by latest react-router-dom. Instead of switch now we got "Routes" 2. Component is deprecated by latest version of react-router-dom. Now it is element. Code: import {Route, BrowserRouter as Router, Routes } from "react-router-dom";
So I stumbled across this API and then started creating an ecom store with it. I had this problem of previous product still being in state and googled so. Here I am. :). I wish you go further and do login and add to cart and stuff. :)
1:57 npm install axios
npm install react-router-dom
3:39 semantic ui
4:15 npm install redux react-redux
9:52 actions.js
15:03 redux dev tool extension
48:01 fix the problem of appearing the previous selected product
Hi need help! Each hit cause double action.. i.e. SET_PRODUCTS, SELECTED_PRODUCTS etc. Called twice for each click. Please help in that
@@navpreetsingh8012 not sure but it can be strict mode that's causing that
Every think is working fine but after refershing the page
i am getting an error Uncaught TypeError: Cannot read properties of undefined (reading 'map')
In 33:38 min, Don't get confused guys. just change,
This line,
const products = useSelector((state) => state);
to
const products = useSelector((state) => state.allProducts.products);
Thank me later. Maybe somehow that part was cut.
I have watched tonnes of videos on react redux, I have to say this is one of the best. So captivating. It was a case of you blink you miss. There was no confusion. Everything was so clearly explained. 51 minutes with other videos was a lot but with this one it happened so fast. Thank you for everything. You got a new subscriber.
Wonderful!
I watched three hours videos and understood nothing. This video is a very dynamic and very easy to understand
yeah. he is amazing teacher
I have seen lots of youtubers just going through basics without going in depth practical implementation when it comes to redux but this tutorial really helps me grasping the most out of it
I really enjoyed Dipesh's demeanor (calm, positive), and it was a solid walkthrough. That being said, I am really jealous of all these over-the-top positive comments. I didn't notice many explanations, mostly I was just told to copy his code. So if he explained stuff to the rest of yall that made redux made sense, I missed that part. As I did my best to follow, my code kept throwing errors and had different formatting, and I was at a total loss to understand where these errors came from. Not understanding the code made debugging difficult. I found myself copying his code provided as my debugging strategy, and at times, I was so lost, that somehow the bugs/errors persisted after I thought I had thoroughly replaced my code with his.
specifying the errors/bugs you encountered would help to give appropriate assistance
I belive this video is not for beginner level, before watching this we must have basic knowledge of redux. Moreover it felt like to learn a pattern to code with redux then the actual redux core concepts. So I recommend to watch any other video if we have no idea about redux or on how it works.
If anyone stumbles across this video now, the react-router-dom is now using {Routes} instead of {Switch} and as a parameter it doesn't accept component={} instead it's element={}
Thanks Fabrzy for adding this.
Thanks, bro for informing about Routes that we can use instead of Switch. Now my error has been resolved.
but does his git code working on your system?
And redux also got deprecated
Thank u so much, I went through a lot of videos, tutorials, and docs, but no one does any practical implementation like yours. It's very much helpful for me. The way you explain redux without throwing jargon is very very useful. The whole basics of redux is clear in my head now. Thanks a lot again for making awesome content.
Glad it helped!
Thanks Dipesh, it was really good for refreshing my Redux concepts
If you are struggling with React Router V6 then just replace the code in App jsx with the below code and it will work for you
function App() {
return (
404 Not Found
);
}
PS: import what u have used
import { BrowserRouter, Routes, Route } from "react-router-dom";
That's why my code was not running thanks for great help
Fantastic Dipesh !!! your teaching skills are really good. I have been a trainer from past 8 years, but couldn't find an easy way to explain redux. Finally, your 50 min video solved my problem. Thanks a ton !!!
Thanks a ton! Good to hear!
Дуже наглядний посібник для вивчення Redux. A very clear guide to study Redux. Thanks.
So Smooth 😻
I thought react-redux is Hard to understand
But after watching this tutorial, it's not that much hard
Thanks!! Waiting.. for more Tutorials
Glad to hear that!
I really enjoyed this video. You explained everything so well. Redux is complex but the way you teach makes it so much easier to understand. I have used redux in previous projects of mine but just needed a refresher. Thank you!!!
brooooo! thank you so much for the tutorials!!!! got my first dev gig because of you!
Great to hear!
I really appreciate the way you explain about React Redux. Such a clarity video that every one needed. Take a bow
49:28 from here the knowledge was really valuable, it tells how to destroy the product when we move to another page good job! Learning never stops
Dude, I can't believe I have gone through this video in a single go without any distractions. Such an awesome refresher video for redux and Thanks a lot. Keep coming up with more videos on React and Redux.
Glad you enjoyed it!
me too :))
i realize it is kinda off topic but do anyone know of a good website to stream new series online?
@Calvin Lyle ehh I use flixportal. You can find it if you google:P -alvaro
@Alvaro Porter thanks, I went there and it seems like a nice service :D I really appreciate it!!
in case you struggling with react-router-dom, they had updates, so you need to do it like that :
I just installed a version of rrd like on video )
getting error with switch, what should be used instead of it?
@@gauravpatil7977 use react-router-dom @5.2.0
@@zakazaka2957 replace with and replace the import too
thank you!
I have come across many videos but this video done the job for redux. Well done bro keep it up
Glad to hear that
Awesome! in 50 min you have been so clear! Now I got better React ideas. Thank you so much!
Great to hear!
This video helps me to implement redux so easily, I cracked up so hard watching this is one of the best compilations I’ve seen the great video
Glad you enjoyed it!
Not one of the best, it is actually THE BEST REDUX VIDEO! Thank you for sharing your knowledge! Greetings from Serbia!
Dude, this video was an excelent way to remember how all of this works! Amazing work! Thank you!
Was looking forward to a really well structured and straightforward material to learn Redux, and this is what I was expecting. Thanks a lot, Sir!!! Please do continue helping us.
The best video on youtube for leaning redux. Thankyou.
Glad it was helpful!
Thanks man, I've been searching a lot for a clear and clean tutorial about redux. Finally i got my doubts cleared from this video. Great work!!!
I have watched several react redux video to get basic understanding and flow of redux but could not get it and the videos were very long , thank you for making this video. Sir you have made this video in such a way that it is so easy to understand. I would recommend this video to everyone who is learning react.Thank you sir !!
best redux tutorial ever. new subscriber
Oh its definitely Subbed my friend. Thanks for putting out great react-redux content. Marvelous!
Thanks for the sub!
Fantastic tutorial! This helped me learn a lot about using Redux with React.
Great to hear!
Every university requires Professor (Lecteror) like you!
so much confusion regarding redux but this time concept has been cleared,
Thank you!!!
You are most welcome, don't forget to Subscribe, like and share with friends.
That was so cool! You are brilliant! It was fun! Entertaining! and really informative. I have subscribed and I look forward to watching a lot more of your videos!
Awesome! Thank you!
This is one of the best video on Redux i have watched on youtube. Thanks a lot. Please create more project videos like this. Please create a project on making POST request to any api also (some CRUD operation application if possible so that data also persists after reload)
Yessss! very clear and I appreciate the folder structure you have. It is intuitive and well organized!
React redux you made so easy . I spent lot of time to understand react redux but this tutorial of u made it so easy . Thanks
Glad to hear that
this is the video which i have seen several times in recent days. The react, redux and your cool explanation deserve more than thanks..
Anyone wants to learn redux just go for this vide. Nice explanation 🔥
Dipesh this is an absolutly astonishing tutorial thanks!
Glad you liked it!😀
Great job. I really got mastery of the to and fro of how redux works. Thank you!
Glad it helped!
I am big fan for your teaching and steps wise..................
Thanks !
Thank you for this amazing video, I was struggling to learn redux. but now I can say I know redux after watching this video.
Really like others says i also gone through lot of react tutorials but your this one is really stands up super bro.
Awesome! Thank you!
Thanks Dipesh Malvia,
For providing us the source code to study further and understand the concept by changing your source code.
Short and to the point video.
i am searching this type of video from a long time.
Thanks again.
It's my pleasure
Thank you sooooo much....You have just cleared all my confusions about redux. Actually You make me learn Redux by this single video. salute
the finest tutorial on redux. Thank You
Wow, thanks!
You explained everything so well. Redux is complex but the way you teach makes it so much easier to understand. thankyou
Outstanding tutorial, my friend!!!! Thanks a lot for the refreshment
Welcome Daniel!
reading from docs was not that easy but u explained it in so easy way thank you sir
That's true I can imagine as at some point I had the same problem ☺️
I have seen a lot of videos about redux everyone explaining only increment and decrement operations but after watched this, I got clarity about redux on larger applications and one more thing the way of explanation is too good enjoyed it keep rock bro😇
Your way of of teaching is too good .... than the other youtubers .... thanks bro :)
Thank you so much, this tutorial you made has really is awesome
Glad it was helpful!
You are awesome man !!!! You made things very easy to understand. Completely impressed with your tutorials!
Thanks for such appreciation. The channel needs such words to grow.
Seriously sir, Got so much of confusion in learning redux. How to use redux when api call etc. etc. Finally I end up with your tutorial of learning redux. Thanks for the clarity in redux you gave via this project. This really nice for whoever trying to learn redux. Personally I learned a lot.
Thanks and welcome!
Thanks for the Video , It has cleared all my basics for react redux
Glad it helped!
Great tutorial! I was having a bad time learning Redux.
This has solved a lot of my doubts.
Subscribed :)
Thanks for the sub! Glad it helped!
in routing: instead of Switch, use Routes.
and instead of ""
use : "" according to new version of react.
Great explanation sir, you deserve more than thanks.
You are most welcome
Best video to understand redux! Thanks for your efforts.
Glad it helped!
This video is an eye-opener for me thanks, buddy ......... waiting for more videos like this
thanks From Spain, very clean and good tutorial.
Glad it helped
Absolutely Superb, This Video helped me out to understand redux in better manner.. Thanks a lot
Glad you enjoyed 😊
@@DipeshMalvia But the api is not working now
This video is so straightforward. I love it!
Thanks!
One of the most explanatory video on react redux. Thank you for providing such a good explanation. Eagerly waiting for redux-thunk video.
Thank you, this explanation is very clear, even a begginner can grasp a lot in one go.
Excellent tutorial for Redux.. great work.. thanks a lot..
Glad you liked it!
Got grip of redux because of you, thank you so much!
Thank you for your effort Dipesh! best video of all!
Best teaching mate just loved it
you have a loyal subscriber
if anyone get stuck with an error for 'Switch' & Route component..
1. Switch is no more supported by latest react-router-dom. Instead of switch now we got "Routes"
2. Component is deprecated by latest version of react-router-dom. Now it is element.
Code:
import {Route, BrowserRouter as Router, Routes } from "react-router-dom";
404 Not Found!
Thanks for this solution, It's really helpful to me 🙂
Thank you very much for this complete and practical tutorial. I was looking for a solution but no one explained it so well. Your friend from Iran ❤👌
Nice Article, learnt basics about Redux.. thank you once again
This video is the best re React development with Redux and hooks
Thanks!
Awesome video, Dipesh. You are great teacher, very clear in communication and code. Thank you for sharing.
Great! Simple and very clear, thanks for sharing
Glad it was helpful!
😍😍 Thank you man, awesome tutorial for the beginners.
Glad you liked it!
Best Video About Redux on YT
i watched this video for tomorrow interview,Appreciate your efforts. It helped me to refresh my redux concepts. Thanks 🤩
This redux tutorial was really helpful please keep up the hardwork and thanks for the great explaination
Glad it helped!
This video really made Redux easy.. Thanks a lot Dipesh
You're most welcome
I love you dude, thanks so much!
Any time
very simply explained the redux api..Its really helpful to me.....thanks a ton
One of the best video ever. Totally outstanding
Hey Dipesh. This was a good tutorial. Thanks!
Glad you liked it!
excellent....! 21 topo (21 cannons) ki salami apko.
keep up the good work! your vids are helping a lot of student programmers!
Happy to hear that!
sir you have solved my problem, your tutorial is really helpful thank you so much!
Really great tutorial. Now I am able to understand the redux properly.
Glad to hear!
Very nice video, learnt few core concepts of redux, thankyou very much.
Great to hear!
i was surfing UA-cam for Redux for many das found this best
Great and one-shot video. The channel code evolution make me to understand redux and your channel make me how to use redux.
Really helped a lot. A big RESPECT! 🌹
So I stumbled across this API and then started creating an ecom store with it. I had this problem of previous product still being in state and googled so. Here I am. :). I wish you go further and do login and add to cart and stuff. :)
Glad it helped!
Thank you so much Bro.. Awesome tutorial!... Helped me a lot...
Glad it helped!
You rock brother! great explanation
Thanks!
Thanks for your clear explanation. :D
You're welcome!
Very well explained about using redux in react app. Keep up the good work.. thanks.
Thankyou so much for this awesome video...my concepts got cleared
Awesome.. Your teching way is pretty good
I found a very useful video for learning to redux. Thank you so much, sir.
Your welcome Indrajith !
the project was smooth, Thankyou Deepesh.
Great video. Thanks a lot for your efforts. It is so clear and teaching well
You are welcome!