I\'m trying to validate the login information. After making sure the login is valid I want to fire a new route. I pass the state.loginReducer.login as props. When I handle t
ComponentWillReceiveProps (nextprops)
should be
componentWillReceiveProps (nextprops)
The C should be lower case. Actually, mapStateToProps triggers componentWillReceiveProps. I'm sure about that.
C
mapStateToProps
componentWillReceiveProps