I'm currently attending your design patterns course. nearly finished with second part. I'm waiting for the 3 part. and I'm really excited about this Redux course, because you know that was missing from your mastering react course. Happy to enroll in this as well. Keep doing the great work Master. Just by my recommendations 4 of my friends are attending your amazing courses. I'm a javascript full stack developer and I got a job in Munich, Germany after watching and practicing your nodejs, react, javascript basic and oop course. I believe you should also provide more courses for those who want to reach the senior level (like CI/CD, AWS, Docker, micro services, UMLs, performance, security ... ). Thanks for the great work.
Let's try and remove 'master' from the 'global scope'. It may have worked in the past but it's now has negative connotations. ;) we are all learning :)
I thought I was wasting my time watching a tutorial which I knew wasn't the complete thing, but the simplicity and clarity of how you explain kept me watching until the end, totally worth it, thank you
I was going literally mad trying to learn redux. This course really explained the concept in a very simplistic way. I can look at redux now and say, hey, I know what is happening here. Thanks Mosh. First time of watching your tutorial. Looks like the best for me so far.
*TIMESTAMP* 0:00:00 Introduction 0:01:02 What is Redux? 0:03:20 Pros and Cons of Redux 0:08:49 Is Redux for You? 0:11:18 Setting Up the Development Environment 0:13:07 Course Structure 0:15:32 Function Programming 0:15:59 What is Functional Programming? 0:17:25 Functions as First-Class Citizens 0:20:33 Higher-order Functions 0:22:06 Functional Composition 0:25:45 Composing and Piping 0:28:08 Currying 0:34:17 Pure Functions 0:37:08 Immutability 0:41:22 Updating Objects 0:45:56 Updating Arrays 0:49:51 Enforcing Immutability 0:50:56 Immutable.js 0:54:36 Immer 0:57:30 Redux Intro 0:57:55 Redux Architecture 1:02:58 Your First Redux Application 1:04:43 Designing the Store 1:06:10 Defining the Actions 1:09:37 Creating a Reducer 1:15:50 Creating the Store 1:17:16 Dispatching Actions 1:20:02 Subscribing to the Store 1:22:10 Action Types 1:26:03 Action Creators 1:29:01 Exercise 1:29:18 Solution
U r So Ri8 Bro..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Fantastic explanations and examples, you made me fall in love with javascript / react / redux, that I will buy your entire course, right now I'm 49 years old but never stop learning new things, 15 years no one has made code so simple and fun, thank you very much and please please include a full course only for functional programming.....
I was following a course on Udemy and i failed to understand redux. but when i watched this video i've learnt aloooooot from the ground up. Now i can continue with the course confortably. I owe you big time MOSH HAMEDANI
Great video! I'm a web dev intern and when we started working with Redux I was completely lost with reducers, actions, selectors, and so on... this really helped me understand.
I just have to drop this comment. Sir, you're super good. Your clean and simplified manner of teaching is second to none. You don't just code, you understand it inside-out, and still makes others understand it - Bravo! When I start earning in this line, I'm coming back to say thank you. I am a huge student of yours all the way from Nigeria.
So many tutorials out there explaining the same concept but ignoring the minute details here and there, you took out time to build up foundation and explain every word you wrote in-detail. Really helpful !! Thanks
People those who disliked are either those who are jealous of his knowledge or don't have learning interests. Please, understand someone's hardwork and respect it.
@@programmingwithmosh yes , but believe me your teaching methodology is so so amazing, no doubt. Clear cut and straight to the point explanations. I truly respect your knowledge and hardwork from Nepal 🙏
Well said. this is not easy thing to do. If anyone not interested dont watch. I love his tutorials and learnt alot . I refer to all my friends regarding Mosh sessions. Thanks alot for his knowledge sharing and the way he explaining is commendable.
@@programmingwithmosh I wont hit dislike because you did put a lot of teaching into this tutorial, and i value that. But i came here for one and a half hours of redux, and leave with 30 mins of pretty basic redux, i think it is a great course, but a clickbait title
I bought two tutorials of yours from Udemy and I couldn't complete them there, but when I see the same tutorials here on TH-cam for free, I grasp more than 90% of it. Thanks for making such a beautiful tutorial.
Mosh, you're absolutely god-like with these tutorials and deep dives. These videos are not short, but the quality of knowledge is an absolute goldmine. I will remember you forever.
Mosh you are the best instructor I've known for long in my development journey. Thanks for this course, I 'm attending to it 3 years after but no worries, I master everything you teach. You made it so simple for me to begin using this library that has raised questions everywhere. I love the functional programming intro because it made me feel the foundation of the library not just cramming things up in space. You are a great programmer!, no doubt.🤗
I would say I don't understand redux until I saw this guy at thumbnail. When I see Mosh I said myself Mosh can explain me. You proved me I'm right again. Thanks for clear explanation and video. Your videos are very educative.
i’m learnig React with mosh’s react course. After completing the course i, i’ll take this redux course👍😊 mosh’s teaching style is easy to understand even to japanese learners such as me. thanks!
what a fantastic course!, for the past 1 month i was skipping redux entirely from my project and just define new state all over the place. After I saw your course, i can truly understand redux concept. Can't Thank you enough ✌
This man really puts everything into the courses and TH-cam tutorials and makes everything so real simple for other developers to understand. I really thank you for this. Keep making these tutorials for everyone. 👌
Hi Mosh, I am a big fan of your courses. I am following your courses from 2017 and learned so many technical concepts from your courses. Your courses help me to get a hold on Language, Frameworks, and libraries like JavaScript, ES6, Angular, React, Redux, etc. I would like to request you to create a course on RxJS and on its applications (If possible along with Redix-observable). It would be great if you work on it and help us to master RxJS concepts so that we can apply them effectively & efficiently on real-world applications. Thank You.
I really wish one of these really good teachers like Mosh would take a crack at teaching Redux Sagas. I know teaching the thunk pattern is probably the best and most profitable course to make since its the most popular, but Sagas are amazing, yet super confusing. There are 100 redux courses out there that teach thunks, and like 3 that teach Saga. Seems like a hole that is waiting to be filled as more companies (like my own) switch over to Sagas.
Mosh is tied in first place with my other favorite online teacher, I will buy him a course, his style is effective and engaging, having this tutorial on youtube is a great hook. Plus he looks exactly as my room mate from college but bald.
1:14:40 The reducer is not a pure function, the id of the bug will change every time you add a new bug, you are using a global variable inside the function, which doesn't make it a pure function.
The id is predictable because it changes by incrementing the previous id. If it was generated by an external UUID library or by randomizing, then you can say it's not pure
Mosh is a beast! He was the reason I got an A+ in my sql course, it was so confusing to me until I watched his sql 3hr video last fall. This redux video just simplified redux for me. I wish I could afford his courses 😥 Keep up the good work Mosh! 👍
9:05 Love this comment. Easily where so many businesses get off on the wrong foot when picking tools. Amazing advice every project manager/ developer needs to hear!
From the tone of your voice to the perfect word and excersices selection you delivery the message with an astonishing accuracy... Great teacher, thank you for your hard work...
Omg. This is the first time I'm going to watch a tutorial premiered. I'm 100% sure that this tutorial will be equally awesome as much as Mosh's other tutorials 😁
finally i understood redux! your videos should be on the top of search results by youtube. one thing you have forget to pass the value of the input param "description" to the description 1:28:03
Hahaha. I really like you Mosh. You are my motivation before I start reading books. Your python course gave me wings before I grabbed a book. You are Mr. Fix It
wow, I thought I knew JS fairly well, at an intermediate level. But Mosh just reminded me that I have been using things semi-blindly. Watched half the video and it's been really good! I hope I'll come to understand redux as much as the people here in the comment section.
If would like so say thank you very much! This is the second tutorial I've watched from you and both the tutorials are the best I've ever watched. Very straight forward, full of details, deep, with all the necessary and balanced basics. I didn't have any questions which never happened to me in other tutorials!
Regarding the comment at 1:14:40 - the "reducer" function is not pure - "lastId" variable from the outer scope is used. Calling "reducer" function twice will not produce the same result. A bit nitpicky but I think it's quite important to note. Great introduction though, shows the gist.
@@flavioespanol8868 Yes, I was rather surprised. Usually you want to pass all the necessary information (including IDs) to the action creator so that they can be included on the payload. The reducer should be fairly "dumb" by comparison.
I was watching your python tutorials that was the first time I watched your video. Your tutorials are best. Congrats on reaching 1 Million subs. 😊😊😊😊 I love to watch your videos. 🇳🇵🇳🇵🇳🇵🇳🇵
I like the way you create your courses. The musics animation sound quality all these make me so relax. never tired of watching your videos. English is my second language and i should say that you are the best in explaining things. Explaining complex developing concepts in easy words is your main cons.
I almost voted a Thumbs Down because of all the content discussed before we actually get to the Redux part but soon after I realized it was all needed to understand everything he was going to do once he started the Redux part, so you need to know that you just need to bare with all the pre-redux material because it is needed. Great video all in all, and I purchased the other 5 hours. I really like the way he teaches. you really learn it!
Highly knoweledgeable and well explained! Concepts made so simple while explaining with great visuals. I'm basically an Angular developer and most of the videos out there confuses me to the core. But this one inspite of being a React based, was so easy to follow and understand. I feel it would be really helpful to the developers like me, if you could make another video explaining store concepts using NgRx for Angular. Great job, Kudos!
Dear Mosh, When the number of composition function is large, it looks messy( ex: D(C(B(A(arg)))) ) I found a convenient pipe operator " |> " that can increase readability( arg |> A |> B |> C |> D), but it's still in experimental period.
You're really good at teaching. One of the best instructors on the internet. Can you please make some tutorial videos about database like mongodb? i hope to see more new videos from u!!!
Mosh is undoubtedly one of the most well-organized instructors out here when it comes to Web Application Development Apps. Thanks, Mosh for the great work you keep doing! My only recommendation would be on the simplicity of the examples used. I think it'd be better to use more elaborate examples that come close to the real-world apps we're looking to build. That way, you don't have to go looking for other tutorials to fill in the knowledge gaps. Thanks.
I searched everywhere for a better explanation for redux and this one is the best. Now I can understand what happen in the background. Thank You Mosh!😇
Thank you for this course Mosh. It is so helpful. I recently joined a company and wanted to quickly start working on a redux project. I was not at all aware of what redux is. But after going through this course i have very good understanding of Redux.
The best thing about your courses that I like is that you explain why we are doing something, what was the original problem that we are trying to solve. Like I have seen so many times people telling about Immutable.js library but I never really understood why it is needed because I am not primarily a JavaScript developer.
The pedagogy is simply amazing! THANKYOU!! I was concerned if it was still relevant, although not the libs but knowledge and other information were very much relevant and useful
I dont use Java or Redux, but after watching 30 mins of the video Im really excited to fully get into both. This from a BI on MS Stack. Thanks, and I will most certainly check out your other videos.
Thank you Mosh for this excellent course! However, at 1:15:34, is the reducer function really pure? I thought it depends on the value of {lastId} which is defined globally.
It's definitely not pure. However, later in the paid course, that variable gets replaced by an ID provided by a back-end server. The ID is passed to the function as part of the `action` parameter, making it pure. Until then you can just "pretend" that the ID is just a unique number that comes with the bug object.
Correct, that reducer was *definitely* not pure. I just about had a hemorrhage reading that code after all that hullabaloo about pure functions, especially when he wrapped up that section about how he had previously talked about pure functions having consistent output based on consistent input, yet it relied explicitly on global state instead of inferring the next correct ephemeral ID from the current state (assuming autoincrement and not a UUID style ID system). 😅
@@christopherk4166 ... right. It's good to have a simpler demo that then is fleshed out further later. But since he was teaching pure functions, he should have just either left that ID empty or inferred it from the current state _and then later_ removed it so that the server could handle it (i.e. a new autoincrement or UUID).
I'm firmly rooted in the development of more traditional web applications that rely more heavily on Spring MVC, light on JS and standard HTML or Bootstrap for the client. We're approaching the end of a total upgrade to Spring MVC, with Bootstrap and jQuery, but while that's still happening, we begun to shift to Spring REST, with React + Redux, and find it mentally challenging. Plus, I work for the government and our environment is closed. For example, I cannot simply start pulling things down to my system using NPM.We have a prepackaged ZIP of a basic starter project, and it points to a repository that contains our private copies of the dependencies. Though we should have been more concerned about optimizing our current application, we didn't so we're not even familiar with the packaging dependencies, those that allow the use of JS variants. I would say that learn Redux first is a must, because it is all about the data, and this sets the stage for the UI. Your tutorial is indispensable in laying down the fundamentals regarding the functional approach to JS and describing what Redux is and how to use it. Huge thanks, Mosh!!!
Another extremely helpful and easy to follow tutorial by Mosh. Thank you! I love the fact that Mosh goes into great detail, and even explains prerequisites required for the course (in this case, functional programming, immutability, etc.)
A fantastic video, as usual ! I learnt so many new things ! Now at last I’m beginning to grasp what functional programming is all about ! You have the gift of explaining things clearly. Thank you so much !
Hi Mosh! Loving this tutorial, I really enjoy how you break things down. But - the starter files provided by the download link above do not include the functional folder you talk about at 00:49:43. Is there another link to download this?
Hey Mosh I explained myself Ruby on Rails to people, so i know the effort that goes into these Videos. I had no clue about Redux (just the concept) and i'm thankful for this video and just want to tell you how much i appreciate the effort and love that you spend on this one. very high quality content. Great job!
Mosh , I have gone through all of your videos ,but I did not see UI based project thats why I am still unable to use redux in my reactJS project ,I learned Reactjs from tutorial which was fantastic,but I think in redux you should make CRUD Project
@@programmingwithmosh i watch the tutorial, and i am amazed how you simplified the redux. i remember learning react it was very fun and again you made it mosh. I was learning redux from another tutorials but they just show how to use it in projects but no one explained why and when. Mosh once again you have amazed me with your skills of teaching, i would recommend this course to every beginner in redux.
I just purchased the course because it's I like the way you explain things and most importantly your clean code. Please keep doing the great courses. Thanks
Why there is no love react button for likes :) , I wanted to give that reaction for this wonderful session. This session really helped me a lot . Thank you sir .
Hi Mosh. Thanks for this really great tutorial. I am learning Redux for React Native and also looking at its implementation in Xamarin (C#). I have a correction though. At 1h.11m The reducer you made is not a pure function based on what you mentioned in the beginning and the principle of pure function, due to you using and modifying the external variable lastId. Pure functions should not depend on any external variables and change any external variables. I implement this logic of lastId in the action creator instead. Or is there something I missed or didn’t understand correctly? Thanks again. Best regards. Ali
Exactly. If you would undo and redo a "bugAdded" action, the second added bug would get a higher ID. This shows how hard it is to write pure functions in a language that doesn't enforce it, and also that Redux doesn't verify or really require that reducer functions are pure (but there will be bugs in your application if not).
if i want to describe your teaching technique in one words.. so trust me their is no any words that can explain your ultimatum, you are amazing awesome fublastic fantastic and the legend...life savor for me
Hey Mosh, do you have any plan on making an ASP.NET Core 3.1 and React course? I really love your videos, you are the only one I can understand on youtube.
I'm currently attending your design patterns course. nearly finished with second part. I'm waiting for the 3 part. and I'm really excited about this Redux course, because you know that was missing from your mastering react course. Happy to enroll in this as well. Keep doing the great work Master. Just by my recommendations 4 of my friends are attending your amazing courses. I'm a javascript full stack developer and I got a job in Munich, Germany after watching and practicing your nodejs, react, javascript basic and oop course. I believe you should also provide more courses for those who want to reach the senior level (like CI/CD, AWS, Docker, micro services, UMLs, performance, security ... ). Thanks for the great work.
@@programmingwithmosh Mr can you give me your WhatsApp number or your Email
Let's try and remove 'master' from the 'global scope'. It may have worked in the past but it's now has negative connotations. ;) we are all learning :)
@@Roatandiving true💯
@@bilalullahkhan5517 I will upload this full course here. th-cam.com/video/v-OSTQvHMZ4/w-d-xo.html&ab_channel=TechGuy%21
@@abdulrahmanismailali1064 tf bruh
I thought I was wasting my time watching a tutorial which I knew wasn't the complete thing, but the simplicity and clarity of how you explain kept me watching until the end, totally worth it, thank you
I was going literally mad trying to learn redux. This course really explained the concept in a very simplistic way. I can look at redux now and say, hey, I know what is happening here.
Thanks Mosh. First time of watching your tutorial. Looks like the best for me so far.
totally agree
you have this unique ability to keep people interested even if you are explaining the most dry concepts.
*TIMESTAMP*
0:00:00 Introduction
0:01:02 What is Redux?
0:03:20 Pros and Cons of Redux
0:08:49 Is Redux for You?
0:11:18 Setting Up the Development Environment
0:13:07 Course Structure
0:15:32 Function Programming
0:15:59 What is Functional Programming?
0:17:25 Functions as First-Class Citizens
0:20:33 Higher-order Functions
0:22:06 Functional Composition
0:25:45 Composing and Piping
0:28:08 Currying
0:34:17 Pure Functions
0:37:08 Immutability
0:41:22 Updating Objects
0:45:56 Updating Arrays
0:49:51 Enforcing Immutability
0:50:56 Immutable.js
0:54:36 Immer
0:57:30 Redux Intro
0:57:55 Redux Architecture
1:02:58 Your First Redux Application
1:04:43 Designing the Store
1:06:10 Defining the Actions
1:09:37 Creating a Reducer
1:15:50 Creating the Store
1:17:16 Dispatching Actions
1:20:02 Subscribing to the Store
1:22:10 Action Types
1:26:03 Action Creators
1:29:01 Exercise
1:29:18 Solution
my brain is expanding watching this
Llll
Does that really help?
absolutely
Lol
Samee
i've been learning web dev for about 8 months now and Redux is the most confusing thing out of everything
Easy-Peasy (Abstracted Redux) Library will make life easier on you
Do you understand it now?
@@indestructible-today yes (◔‿◔)
@@zakur0hako NICE
U r So Ri8 Bro..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Been a web dev for 12 years and I'm a huge fan of your videos! Very clear, concise, and super informative.
Fantastic explanations and examples, you made me fall in love with javascript / react / redux, that I will buy your entire course, right now I'm 49 years old but never stop learning new things, 15 years no one has made code so simple and fun, thank you very much and please please include a full course only for functional programming.....
I was following a course on Udemy and i failed to understand redux. but when i watched this video i've learnt aloooooot from the ground up. Now i can continue with the course confortably. I owe you big time MOSH HAMEDANI
Great video! I'm a web dev intern and when we started working with Redux I was completely lost with reducers, actions, selectors, and so on... this really helped me understand.
I just have to drop this comment. Sir, you're super good. Your clean and simplified manner of teaching is second to none. You don't just code, you understand it inside-out, and still makes others understand it - Bravo!
When I start earning in this line, I'm coming back to say thank you.
I am a huge student of yours all the way from Nigeria.
Dude! the animation and details in these courses are like no other! You really take it to another level
Yes, but he is not straight forward.
@@mecode7850 explain?
So many tutorials out there explaining the same concept but ignoring the minute details here and there, you took out time to build up foundation and explain every word you wrote in-detail. Really helpful !! Thanks
Hey Kapil! Have you ever taken the help of any tutorial to do a project? Would you be interested exploring opportunities in web development?
People those who disliked are either those who are jealous of his knowledge or don't have learning interests.
Please, understand someone's hardwork and respect it.
@@programmingwithmosh yes , but believe me your teaching methodology is so so amazing, no doubt. Clear cut and straight to the point explanations.
I truly respect your knowledge and hardwork from Nepal 🙏
so it's either or? Bruh you need to learn some respect.
Well said. this is not easy thing to do. If anyone not interested dont watch. I love his tutorials and learnt alot . I refer to all my friends regarding Mosh sessions. Thanks alot for his knowledge sharing and the way he explaining is commendable.
@@programmingwithmosh I wont hit dislike because you did put a lot of teaching into this tutorial, and i value that. But i came here for one and a half hours of redux, and leave with 30 mins of pretty basic redux, i think it is a great course, but a clickbait title
@@programmingwithmosh exactly
I bought two tutorials of yours from Udemy and I couldn't complete them there, but when I see the same tutorials here on TH-cam for free, I grasp more than 90% of it.
Thanks for making such a beautiful tutorial.
Mosh, you're absolutely god-like with these tutorials and deep dives. These videos are not short, but the quality of knowledge is an absolute goldmine. I will remember you forever.
Mosh you are the best instructor I've known for long in my development journey.
Thanks for this course, I 'm attending to it 3 years after but no worries, I master everything you teach.
You made it so simple for me to begin using this library that has raised questions everywhere.
I love the functional programming intro because it made me feel the foundation of the library not just cramming things up in space.
You are a great programmer!, no doubt.🤗
I swear to God I have been thinking for the past couple of weeks that there should be a Mosh-course on Redux so I can learn it properly! Thanks Man!
I would say I don't understand redux until I saw this guy at thumbnail. When I see Mosh I said myself Mosh can explain me. You proved me I'm right again. Thanks for clear explanation and video. Your videos are very educative.
i’m learnig React with mosh’s react course.
After completing the course i, i’ll take this redux course👍😊
mosh’s teaching style is easy to understand even to japanese learners such as me. thanks!
頑張ってください。僕も日本でITの仕事やってます。Reactjs面白いですね。
what a fantastic course!, for the past 1 month i was skipping redux entirely from my project and just define new state all over the place. After I saw your course, i can truly understand redux concept. Can't Thank you enough ✌
I was waiting for this. Mosh is the best instructor no matter what he teaches. Also, include reacts hook in your react tutorial.
The clarity of this video was so refreshing. I ended up purchasing the course. We should support *quality* digital content.
This man really puts everything into the courses and TH-cam tutorials and makes everything so real simple for other developers to understand. I really thank you for this. Keep making these tutorials for everyone. 👌
You are a genius. No one can't explain redux more clear than you just did. Congratulations.
Hi Mosh, I am a big fan of your courses. I am following your courses from 2017 and learned so many technical concepts from your courses. Your courses help me to get a hold on Language, Frameworks, and libraries like JavaScript, ES6, Angular, React, Redux, etc.
I would like to request you to create a course on RxJS and on its applications (If possible along with Redix-observable). It would be great if you work on it and help us to master RxJS concepts so that we can apply them effectively & efficiently on real-world applications.
Thank You.
Mosh jan, khaily mamnoon for all your tutorials man, very helpful!
I really wish one of these really good teachers like Mosh would take a crack at teaching Redux Sagas. I know teaching the thunk pattern is probably the best and most profitable course to make since its the most popular, but Sagas are amazing, yet super confusing. There are 100 redux courses out there that teach thunks, and like 3 that teach Saga. Seems like a hole that is waiting to be filled as more companies (like my own) switch over to Sagas.
Same thoughts here. There arent many good redux saga courses
this I found to be good
th-cam.com/video/eUMbH6X_Adc/w-d-xo.html
Mosh is tied in first place with my other favorite online teacher, I will buy him a course, his style is effective and engaging, having this tutorial on youtube is a great hook. Plus he looks exactly as my room mate from college but bald.
1:14:40 The reducer is not a pure function, the id of the bug will change every time you add a new bug, you are using a global variable inside the function, which doesn't make it a pure function.
The id is predictable because it changes by incrementing the previous id. If it was generated by an external UUID library or by randomizing, then you can say it's not pure
the best one ever made on redux/ react especially the introduction knowledge he give at the begging about functional programming , curry and pipe
Mosh is a beast! He was the reason I got an A+ in my sql course, it was so confusing to me until I watched his sql 3hr video last fall. This redux video just simplified redux for me. I wish I could afford his courses 😥 Keep up the good work Mosh! 👍
Same to me with oop course
I watched his react native course and passed an interview effortlessly
9:05 Love this comment. Easily where so many businesses get off on the wrong foot when picking tools. Amazing advice every project manager/ developer needs to hear!
I've finish this course for month, It was worth.
From the tone of your voice to the perfect word and excersices selection you delivery the message with an astonishing accuracy... Great teacher, thank you for your hard work...
Omg. This is the first time I'm going to watch a tutorial premiered. I'm 100% sure that this tutorial will be equally awesome as much as Mosh's other tutorials 😁
finally i understood redux! your videos should be on the top of search results by youtube. one thing you have forget to pass the value of the input param "description" to the description 1:28:03
Hahaha. I really like you Mosh. You are my motivation before I start reading books. Your python course gave me wings before I grabbed a book. You are Mr. Fix It
wow, I thought I knew JS fairly well, at an intermediate level. But Mosh just reminded me that I have been using things semi-blindly. Watched half the video and it's been really good! I hope I'll come to understand redux as much as the people here in the comment section.
currying blew my mind. never knew you could do that with js
If would like so say thank you very much! This is the second tutorial I've watched from you and both the tutorials are the best I've ever watched. Very straight forward, full of details, deep, with all the necessary and balanced basics. I didn't have any questions which never happened to me in other tutorials!
Hey Mosh,
Congratulate 1 Million subscribers. See you on 10 million 😉
Regarding the comment at 1:14:40 - the "reducer" function is not pure - "lastId" variable from the outer scope is used. Calling "reducer" function twice will not produce the same result. A bit nitpicky but I think it's quite important to note. Great introduction though, shows the gist.
Lol, he spent the whole vid talking about pure functions and didn't mention that 🤦♂️🤦♂️
@@flavioespanol8868 Yes, I was rather surprised. Usually you want to pass all the necessary information (including IDs) to the action creator so that they can be included on the payload. The reducer should be fairly "dumb" by comparison.
I was watching your python tutorials that was the first time I watched your video.
Your tutorials are best.
Congrats on reaching 1 Million subs.
😊😊😊😊
I love to watch your videos.
🇳🇵🇳🇵🇳🇵🇳🇵
I like the way you create your courses. The musics animation sound quality all these make me so relax. never tired of watching your videos. English is my second language and i should say that you are the best in explaining things. Explaining complex developing concepts in easy words is your main cons.
57:34 Intro to Redux starts there. Previously is an introduction about functional programming, currying, ...
Thanks buddy
Thanks man
I almost voted a Thumbs Down because of all the content discussed before we actually get to the Redux part but soon after I realized it was all needed to understand everything he was going to do once he started the Redux part, so you need to know that you just need to bare with all the pre-redux material because it is needed. Great video all in all, and I purchased the other 5 hours. I really like the way he teaches. you really learn it!
Highly knoweledgeable and well explained! Concepts made so simple while explaining with great visuals. I'm basically an Angular developer and most of the videos out there confuses me to the core. But this one inspite of being a React based, was so easy to follow and understand.
I feel it would be really helpful to the developers like me, if you could make another video explaining store concepts using NgRx for Angular.
Great job, Kudos!
Dear Mosh,
When the number of composition function is large, it looks messy( ex: D(C(B(A(arg)))) )
I found a convenient pipe operator " |> " that can increase readability( arg |> A |> B |> C |> D),
but it's still in experimental period.
You're really good at teaching. One of the best instructors on the internet. Can you please make some tutorial videos about database like mongodb? i hope to see more new videos from u!!!
Mosh is undoubtedly one of the most well-organized instructors out here when it comes to Web Application Development Apps. Thanks, Mosh for the great work you keep doing! My only recommendation would be on the simplicity of the examples used. I think it'd be better to use more elaborate examples that come close to the real-world apps we're looking to build. That way, you don't have to go looking for other tutorials to fill in the knowledge gaps. Thanks.
Huuuuugggeee respect for all of these animations + clean and clear explanations. Thank you !
I searched everywhere for a better explanation for redux and this one is the best. Now I can understand what happen in the background. Thank You Mosh!😇
hey mosh you gets 1 million subscribers very fast after lunch redux course. that will be super exciting
The best basic course of Redux in TH-cam. Thanks Mosh Hamedani
I have a single heart and you have won it every-time .
#Respect #mosh
Thank you for this course Mosh. It is so helpful. I recently joined a company and wanted to quickly start working on a redux project. I was not at all aware of what redux is. But after going through this course i have very good understanding of Redux.
I've been putting off learning redux for a while now, but I guess I'll have to do it now. 👣🧠🤓
The best thing about your courses that I like is that you explain why we are doing something, what was the original problem that we are trying to solve. Like I have seen so many times people telling about Immutable.js library but I never really understood why it is needed because I am not primarily a JavaScript developer.
1:14:58 Actually because of id: ++lastId the reducer is not a pure function.
I just thinking the same thing.
Yes I am on the same page
The pedagogy is simply amazing!
THANKYOU!!
I was concerned if it was still relevant, although not the libs but knowledge and other information were very much relevant and useful
If i had wife i would adopt Mosh , he looks like genuinely good guy ...
lol
That's just weird
It's so cool that mosh is giving exercises to solve
So far this is one of the best tutorials I found on redux in a beginner friendly way. Hats off to you man for providing such contents for free.
I dont use Java or Redux, but after watching 30 mins of the video Im really excited to fully get into both. This from a BI on MS Stack. Thanks, and I will most certainly check out your other videos.
Thank you Mosh for this excellent course! However, at 1:15:34, is the reducer function really pure? I thought it depends on the value of {lastId} which is defined globally.
It's definitely not pure. However, later in the paid course, that variable gets replaced by an ID provided by a back-end server. The ID is passed to the function as part of the `action` parameter, making it pure. Until then you can just "pretend" that the ID is just a unique number that comes with the bug object.
Correct, that reducer was *definitely* not pure. I just about had a hemorrhage reading that code after all that hullabaloo about pure functions, especially when he wrapped up that section about how he had previously talked about pure functions having consistent output based on consistent input, yet it relied explicitly on global state instead of inferring the next correct ephemeral ID from the current state (assuming autoincrement and not a UUID style ID system). 😅
@@christopherk4166 ... right. It's good to have a simpler demo that then is fleshed out further later. But since he was teaching pure functions, he should have just either left that ID empty or inferred it from the current state _and then later_ removed it so that the server could handle it (i.e. a new autoincrement or UUID).
I'm firmly rooted in the development of more traditional web applications that rely more heavily on Spring MVC, light on JS and standard HTML or Bootstrap for the client. We're approaching the end of a total upgrade to Spring MVC, with Bootstrap and jQuery, but while that's still happening, we begun to shift to Spring REST, with React + Redux, and find it mentally challenging. Plus, I work for the government and our environment is closed. For example, I cannot simply start pulling things down to my system using NPM.We have a prepackaged ZIP of a basic starter project, and it points to a repository that contains our private copies of the dependencies. Though we should have been more concerned about optimizing our current application, we didn't so we're not even familiar with the packaging dependencies, those that allow the use of JS variants. I would say that learn Redux first is a must, because it is all about the data, and this sets the stage for the UI. Your tutorial is indispensable in laying down the fundamentals regarding the functional approach to JS and describing what Redux is and how to use it. Huge thanks, Mosh!!!
Another extremely helpful and easy to follow tutorial by Mosh. Thank you! I love the fact that Mosh goes into great detail, and even explains prerequisites required for the course (in this case, functional programming, immutability, etc.)
A fantastic video, as usual ! I learnt so many new things ! Now at last I’m beginning to grasp what functional programming is all about ! You have the gift of explaining things clearly. Thank you so much !
Hi Mosh! Loving this tutorial, I really enjoy how you break things down. But - the starter files provided by the download link above do not include the functional folder you talk about at 00:49:43. Is there another link to download this?
Hey Mosh
I explained myself Ruby on Rails to people, so i know the effort that goes into these Videos. I had no clue about Redux (just the concept) and i'm thankful for this video and just want to tell you how much i appreciate the effort and love that you spend on this one. very high quality content. Great job!
Really Mosh deserve 5M subscribers..
who are agree with me hit likes..
you make JavaScript so approachable, i used to hate redux until this video
Mosh , I have gone through all of your videos ,but I did not see UI based project thats why I am still unable to use redux in my reactJS project ,I learned Reactjs from tutorial which was fantastic,but I think in redux you should make CRUD Project
Did you check out his course where he integrates Redux into React?
@@neo6259 sorry we Indians need everything for free xD
@@kiranbabu9267 Your statement is not true. I am Indian. I and all my friends have paid and bought several courses of Mosh and Max.
@@saradhagirish8329 im gonna check who tf asked
@@neo6259 test
Everything will be fine and you will shine like a rising star with great success and wealth
Mosh is my favourite living human being.
@@programmingwithmosh
You are awesome!
The best course i have seen in the internet, The way you are explaining is so beautiful,
I can't believe this course is free. I hope Mosh finds a good way to monetize this and other such good videos. Thank you Mosh
I knew what currying was before, but now I know what problem currying solves. Brilliant!
When you wanna launch your react Native course I am eagerly waiting for this...
Plz upload early..
@@programmingwithmosh Thanks a lot Sir..
John was right. I was working on a quiz project and now I realized he was right about it.
Wow just when i thought i wanna learn redux
This is the simplest and most complete redux tutorial so far!
Hey Mosh, how are you? Reminder is set and all set to watch and be amazed with your new Redux course. Thank you so much mosh.
@@programmingwithmosh i watch the tutorial, and i am amazed how you simplified the redux. i remember learning react it was very fun and again you made it mosh. I was learning redux from another tutorials but they just show how to use it in projects but no one explained why and when. Mosh once again you have amazed me with your skills of teaching, i would recommend this course to every beginner in redux.
I just purchased the course because it's I like the way you explain things and most importantly your clean code.
Please keep doing the great courses.
Thanks
Why there is no love react button for likes :) , I wanted to give that reaction for this wonderful session. This session really helped me a lot . Thank you sir .
Excellent presentation skills! You break down redux so eloquently that I wished something like this was uploaded much earlier. Thank you.
Can't Wait.. super excited for this. ✌ Also, 1M subs after this Premier👍
I extremely love your toturial style
and I am proud to be your student
thank for your efforts mosh
love from iran 🇮🇷
Hi Mosh. Thanks for this really great tutorial. I am learning Redux for React Native and also looking at its implementation in Xamarin (C#). I have a correction though. At 1h.11m The reducer you made is not a pure function based on what you mentioned in the beginning and the principle of pure function, due to you using and modifying the external variable lastId. Pure functions should not depend on any external variables and change any external variables. I implement this logic of lastId in the action creator instead. Or is there something I missed or didn’t understand correctly? Thanks again. Best regards. Ali
Came here to say this!
Exactly. If you would undo and redo a "bugAdded" action, the second added bug would get a higher ID. This shows how hard it is to write pure functions in a language that doesn't enforce it, and also that Redux doesn't verify or really require that reducer functions are pure (but there will be bugs in your application if not).
if i want to describe your teaching technique in one words.. so trust me their is no any words that can explain your ultimatum, you are amazing awesome fublastic fantastic and the legend...life savor for me
Thank you Mosh for this great course. I am curious, what font are you using for coding this course?
"FIRA CODE"
@@dgshinoda Thanks for the response. But it's too late :D
Your explanation is on the advance level, but simple at the same time
Hey Mosh, do you have any plan on making an ASP.NET Core 3.1 and React course? I really love your videos, you are the only one I can understand on youtube.
Self Notes
44:10 shallow copy will update the original referenced object. Use deep copy of inner objects to avoid changing the original.
Starter project file is not downloading!
Mosh saves the day again! Thank you! You are such a skilled teacher.
"if all you have is a hammer, everything looks like a nail" 😀😀
Proceeds to beat the frick everyone
It's like old Tibetan pervorb དུས་ཐོག་ཆ་བ timely rain, I needed this tutorial so bad. Thank you.