Redux Combine Multiple Reducers Tutorial | React Redux Series Part 5

  Рет қаралды 37,064

techsith

techsith

Күн бұрын

Пікірлер: 70
@Maniruzzaman
@Maniruzzaman 4 жыл бұрын
You're just a Life Saver for many React developers who were really feared the redux .. Love u man..
@yekaterinabindyuk9035
@yekaterinabindyuk9035 5 жыл бұрын
whenever I want to learn something new for my work, I check out Techsith's videos and I never get disappointed. They're always clear and to the point. Thanks a lot for your work!
@Techsithtube
@Techsithtube 5 жыл бұрын
I am glad that you learnt something . Keep on learning Yekaterina,
@reactnativefromstart3888
@reactnativefromstart3888 4 жыл бұрын
You are really great. Captivated method of teaching redux wonderful you are great sir Thanks alot.
@Techsithtube
@Techsithtube 4 жыл бұрын
Thanks for watching!
@jdsingh3607
@jdsingh3607 Жыл бұрын
Crystal clear explanation , loved it ❤.
@aaaaaaa596
@aaaaaaa596 6 жыл бұрын
REDUX in a very simplified and easy to grasp form...hats off to you sir
@Techsithtube
@Techsithtube 6 жыл бұрын
I am glad that you understood . thanks for watching!
@phonographiq
@phonographiq 6 жыл бұрын
Just wanted to chime in here: mapStoreToProps and mapStateToProps are the same thing! The name of the function is foo bar banana, that is, it is irrelevant. (Wonderful video as always, thx m8!)
@infotainment7123
@infotainment7123 4 жыл бұрын
this was useful thanks..
@yashwantkumar2592
@yashwantkumar2592 3 жыл бұрын
Easiest explanation ever.
@rehaan9351
@rehaan9351 5 жыл бұрын
Thank you man, i had started a course from zero to mastery on udemy but couldnt understand redux part, you made it very simple, thankyou. Just always try to explain every small thing cuz you never know who is watching your vidoes, it could be a beginner or an expert as well. I appreciate your efforts. Once again thank you....Lots of love from Kashmir
@kirankumar-zf9yd
@kirankumar-zf9yd 6 жыл бұрын
Good session (y) and can you come up with handling API data using redux
@netuse4956
@netuse4956 3 жыл бұрын
excellent topic sir, these concepts cover Props UNDEFINED error easily, thanks sir for wonderful example,explanation :)
@Techsithtube
@Techsithtube 3 жыл бұрын
You are most welcome
@caseyvandyke7051
@caseyvandyke7051 5 жыл бұрын
"and if you do it again it makes it s...". I always get a laugh at your edits. Thanks for the helpful tutorial!
@creativemyvillageatoz8043
@creativemyvillageatoz8043 4 жыл бұрын
Thanks for making the concepts easy for beginners..
@veeramanit6947
@veeramanit6947 6 жыл бұрын
Great! you are the best!! Please create new video for a complete project with implementing what we have learnt so far. it will help us to understand and correlate the things very much better.
@rupjuly1985
@rupjuly1985 5 жыл бұрын
Everything is simple with techsith
@rupjuly1985
@rupjuly1985 5 жыл бұрын
Hi TechSith, I have created a same application but I am facing some issue. In starting a and b both initialized with 1. first i have udpate a then a become 2 when i update b it become 2 it should become 3. every time when i updating it get previous value of payload.
@prashantmestry8199
@prashantmestry8199 5 жыл бұрын
Your teaching method is really so awesome. I have been watching your videos last so many days. Thank you so much sir...
@akhileshpips
@akhileshpips 4 жыл бұрын
congrats for 100K
@gabovanlugo
@gabovanlugo 6 жыл бұрын
Thanks a lot for putting a lot of effort on creating these tutorial. Looking forward for anything related to redux-saga. 👍
@semlimi200
@semlimi200 5 жыл бұрын
Another awesome video making the complex simple and understandable for us! :) Just one suggestion, towards the end all the same naming conventions with a and b, I wasn't sure which was coming from where. Changing foo bar type names as much as possible would help beginners drive home the points. I changed the 'a' , 'b' naming conventions towards the end and played around with it and really enjoyed this video. Thank you so much for everything you do!
@fdc_8507
@fdc_8507 6 жыл бұрын
techsith coming with the best always :)
@joshk2181
@joshk2181 6 жыл бұрын
Great tut as always but inline block is an abomination if you ever need 2 elements side by side hit up your new best friend display flex. If I see any float lefting I am liable to go postal
@anuragparihar37
@anuragparihar37 4 жыл бұрын
Explained very well
@pedromoncada9371
@pedromoncada9371 5 жыл бұрын
Really awesome, greets from Colombia
@passby8070
@passby8070 5 жыл бұрын
awesome Tut! big thumbs up!
@Flatnens
@Flatnens 3 жыл бұрын
I love you. You're a life saver.
@abhayagarwal5097
@abhayagarwal5097 4 жыл бұрын
Ty again for this great tutorial✌️
@Techsithtube
@Techsithtube 4 жыл бұрын
My pleasure!
@harendrakumardas62
@harendrakumardas62 3 жыл бұрын
you are great man Thank You So much for this Wonderful content , once again thank you So much.😃😃
@jebanenigers
@jebanenigers 5 жыл бұрын
very good lesson and short video :)
@veronicasoloduha3009
@veronicasoloduha3009 5 жыл бұрын
as always is great!
@AnimeshSinghweb
@AnimeshSinghweb 3 жыл бұрын
good work
@NikhilMahirrao
@NikhilMahirrao 5 жыл бұрын
Please make a video on lazy load of reducer, actions, sagas
@aqibsaeed3229
@aqibsaeed3229 4 жыл бұрын
After having reducerA and reducerB.. we will no longer need reducer.js file. Right ? If yes, then i think you forgot to mention it in video.
@vijayan5041
@vijayan5041 6 жыл бұрын
Could you please make a video where you can explain what react reconciliation process is exactly?
@cristianpaolocoradocordero6850
@cristianpaolocoradocordero6850 4 жыл бұрын
great man thanks
@jjeon9850
@jjeon9850 4 жыл бұрын
Thanks mate!
@Ukbagpack
@Ukbagpack 6 жыл бұрын
Thanks for the session can you please explain that you have used mapStateToProps in previous vedio and in this you have used mapStoreToProps is there any diff
@Techsithtube
@Techsithtube 6 жыл бұрын
actually, the name doesnt matter. However , it should be mapStateToProps so that someone looking at it can clearly see the State is mapped to props. But you can give whatever name the redux will take it.
@trymysolution9831
@trymysolution9831 6 жыл бұрын
techsith i have a doubt, can we use window scope instead of using redux for maintaining global state. if ok, then what is an additional job of redux
@joshk2181
@joshk2181 6 жыл бұрын
trymysolution window variables are available to the client in a dangerous way. You might like MobX state tree which is better than redux with many of the benefits
@trymysolution9831
@trymysolution9831 6 жыл бұрын
@@joshk2181 can I know the dangerous??
@mymymyblade
@mymymyblade 4 жыл бұрын
When you pass the value to reducer, you can simply use `a` instead `a:a` , am I right?
@prabhjotsinghahluwalia1224
@prabhjotsinghahluwalia1224 4 жыл бұрын
Why is " import reducerA from './store/reducerA' " correct ? In reducerA file , we have written only const reducer=(initialstate,action).....
@Techsithtube
@Techsithtube 4 жыл бұрын
If its a default export you can call it whatever you want when you import it.
@prabhjotsinghahluwalia1224
@prabhjotsinghahluwalia1224 4 жыл бұрын
@@Techsithtube Thanks sir!
@aestebanclchannel89
@aestebanclchannel89 3 жыл бұрын
Hello you video is awesome! I just have one question . I have two reducer and I need to share the initialState between both. However both reducers at the same time have separately initialState Something like this: Shared initialState : const initialState = { products: [], }; Reducer1 const initialState = { cart: [], currentItem: null, }; Reducer2 const initialState = { loading: false, results: [], value: "", }; How can I make the Reducer share initialState but use their own initialState at same time?
@Techsithtube
@Techsithtube 3 жыл бұрын
Here is a good example of shared and individual reducer. // reducers.js export default theDefaultReducer = (state = 0, action) => state export const firstNamedReducer = (state = 1, action) => state export const secondNamedReducer = (state = 2, action) => state // rootReducer.js import { combineReducers, createStore } from 'redux' import theDefaultReducer, { firstNamedReducer, secondNamedReducer } from './reducers' // Use ES6 object literal shorthand syntax to define the object shape const rootReducer = combineReducers({ theDefaultReducer, firstNamedReducer, secondNamedReducer }) const store = createStore(rootReducer) console.log(store.getState()) // {theDefaultReducer : 0, firstNamedReducer : 1, secondNamedReducer : 2}
@aestebanclchannel89
@aestebanclchannel89 3 жыл бұрын
@@Techsithtube Great exactly what I need . Thanks!
@sakcee
@sakcee 4 жыл бұрын
Can you please upload more react-redux-saga small projects? just so people can practice it
@Techsithtube
@Techsithtube 4 жыл бұрын
Sure I can split the playlist into two separate lists.
@sakcee
@sakcee 4 жыл бұрын
@@Techsithtube Cool Thanks, great series!!! Thanks for making it. Keep up the good work!
@sanketburde2025
@sanketburde2025 6 жыл бұрын
Best explained....
@christmasvillage3652
@christmasvillage3652 5 жыл бұрын
u are god.
@GauravGoyal1911
@GauravGoyal1911 5 жыл бұрын
@techsmith: How can I transfer data from One Component's Reducer to other components reducer ?
@NeoCoding
@NeoCoding 5 жыл бұрын
it's cool as always, but I wouldn't zoom in the screen it's uncomfortable I feel
@ГеоргийРукомин
@ГеоргийРукомин 5 жыл бұрын
Thank you.
@SudhanshuRamTripathi
@SudhanshuRamTripathi 5 жыл бұрын
Thanks a lot it helps. but i have question in different situation would you mind answering it => In my case, i don't want key for each reducer, only one key of store should be updated by multiple reducer, store: { count: 0}, i want to create two reducer, increment and decrement and want to update the same key and display as well. is it possible?? Thanks a lot :)
@Techsithtube
@Techsithtube 5 жыл бұрын
you should not do that, but i think you could be able to do it . inside the reducer update that value two places before returning it.
@SudhanshuRamTripathi
@SudhanshuRamTripathi 5 жыл бұрын
@@Techsithtube yes.. thanks for your valuable response
@mansurhaider9163
@mansurhaider9163 5 жыл бұрын
super
@sridharbelide
@sridharbelide 6 жыл бұрын
Awesome
@Bharat3073
@Bharat3073 5 жыл бұрын
Nice React Redux Series, but content quality is poor this time, it's not justifying Techsith brand. Hope Techsith will come-up with new React Redux Series and will not include old videos. Techsith has its own identity due to its great content and simplicity. wish you all the best.
@alexmotorniy
@alexmotorniy 6 жыл бұрын
why the zoom sooooo big?
@Techsithtube
@Techsithtube 6 жыл бұрын
Lots of people who watch on cell phones complained so I zoom for them. Is it annoying?
@allthenew5227
@allthenew5227 5 жыл бұрын
@@Techsithtube No no, Keep it up.
Redux simple example | Redux Tutorial | Redux for beginners
14:18
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 19 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 40 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 39 МЛН
React Refs and DOM
21:43
techsith
Рет қаралды 72 М.
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 13 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 829 М.
React Redux Update State Immutable way Tutorial | Part - 4
16:45
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 42 МЛН
React Pure Components Tutorial
13:34
techsith
Рет қаралды 59 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 836 М.
Redux-thunk Middleware | React Redux Series Part 7
16:08
techsith
Рет қаралды 78 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Redux Introduction |  How Redux works | Redux fundamentals
11:07
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 19 МЛН