Answer by Thananjaya S for Redux - state updated in reducer but not updating...
You missed mapDispatchToProps after mapStateToProps. mapStateToProps and mapDispatchToProps are both pure functions that are provided the stores “state” and “dispatch” respectively. Furthermore, both...
View ArticleRedux - state updated in reducer but not updating the new values to component
While updating the state in redux combined with React app, the state is updated in the reducer. But in the container, I'm still getting the old state. Below is the reducer. import * as constants from...
View Article