Accepted answer
// Decorate with reduxForm(). It will read the initialValues prop provided by connect()
const reduxFormDecorator = reduxForm({
  form: 'initializeFromState'  // a unique identifier for this form

const reduxConnector = connect(
  state => ({
    initialValues: // pull initial values from account reducer
  { load: loadAccount }               // bind account loading action creator

export default reduxConnector(reduxFormDecorator(InitializeFromStateForm));

Related Query

More Query from same tag