Too Long; Didn't Read
In this post, we will see how an action can be dispatched using Redux on login. The login button should dispatch and action to the reducer which should in turn update the overall app's state. We will use React Native and Redux concepts to create our Login component. We need to set the state from the Login function and set the app state accordingly. For this we need to define some actions in actions in the form of 'What we are doing are what we expect to get back from API call and login page input isLoggedIn'