feathers-starter-react-redux-login-roles
feathers-starter-react-redux-login-roles copied to clipboard
pick reset token-from-props
Could you help me, I'm not clear how this would be used.
Hi, the idea is to simply rely on mechanism that any props are passed to the Form thru reduxForm and are available in handleSubmit = (values, dispatch, props)
.
This allows to get rid of impure mapStateToProps
which keeps token in closure.
All the usage stays the same.