Hi I am reading this tutorial https://www.packtpub.com/books/content/how-get-started-redux-react-native where guy explained about use case of redux in react native application. Well, I gotcha things there, but I see that
userReducers is not defined there in class Login.js I am not sure where it is being referenced.
Can anyone help me what is that ? Shouldn't it state.user instead user.userReducers.user

This is because in your index.ios.js file while creating the redux store, you are name-spacing this data under userReducers.

According to line 10 where you are creating the store, all state variables added by userReducers will be available under state.userReducers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With