I have a React component
export class Login extends Component {
..omitted for clarity
}
export default connect(select, actions)(Login);
And as can be seen it connects to Redux and it works perfectly well
I have Redux Form as
export class ChangePassword extends Component {
..omitted for clarity
}
export default reduxForm({
form: 'change_password_form',
validate
})(ChangePassword);
Again this is working perfectly well.
My question is , I can't work out the syntax to have the Redux form also to use the connect statement e.g. connect(select, actions)
Something like this ?
export default reduxForm({
form: 'change_password_form',
validate
}).connect(select, actions)(ChangePassword)