1 00:00:00,390 --> 00:00:00,840 All right. 2 00:00:00,990 --> 00:00:07,890 Next, I would like to cover another hook use reducer, essentially, user juicer allows us to use redux 3 00:00:07,980 --> 00:00:10,510 in our apps without the Redux boiler. 4 00:00:10,530 --> 00:00:10,870 Right. 5 00:00:11,280 --> 00:00:12,420 Which, of course, is a good thing. 6 00:00:12,750 --> 00:00:17,640 The downside of using user reducer is that you still need to learn a redux terminology. 7 00:00:18,000 --> 00:00:21,510 So think actions, dispatch reducer and state. 8 00:00:21,930 --> 00:00:26,370 If you're familiar with redux terminology, you'll be up and running in no time. 9 00:00:26,910 --> 00:00:31,080 But if this is your first experience with Redux, don't get frustrated. 10 00:00:31,170 --> 00:00:35,730 If you don't grasp everything right away, redux just requires some practice. 11 00:00:35,850 --> 00:00:36,270 That's all. 12 00:00:36,900 --> 00:00:40,560 In next part of the course, we're gonna cover Redux in great detail. 13 00:00:40,830 --> 00:00:46,200 So feel free to watch Redux Tutorial first and only then come back to use reducer videos. 14 00:00:46,620 --> 00:00:54,090 What user user brings to the table is more structure to our app and separation of concerns where in 15 00:00:54,090 --> 00:00:57,900 order to work with the state, we're going to have to follow certain rules. 16 00:00:58,320 --> 00:01:04,070 And all our functionality is not going to be in the context file anymore in order to show you user user 17 00:01:04,070 --> 00:01:04,580 in action. 18 00:01:04,920 --> 00:01:07,680 We're going to refactor the card context file. 19 00:01:08,160 --> 00:01:14,340 Now, when I say refactor, what I mean is we're not going to change how we set up the context or how 20 00:01:14,340 --> 00:01:15,720 we access that in our app. 21 00:01:16,140 --> 00:01:20,070 Only the actual functionality of how we work with our cart state. 22 00:01:20,520 --> 00:01:26,010 So the items that we're adding to the cart or maybe adding the amount or removing and stuff like that, 23 00:01:26,400 --> 00:01:29,130 I would like to mention that following videos are optional. 24 00:01:29,670 --> 00:01:33,870 If you feel like you don't like their user user, you don't have to add it to your app. 25 00:01:34,380 --> 00:01:36,810 It's not going to affect any other additional features. 26 00:01:37,080 --> 00:01:38,880 We're going to be adding to our app.