title: Redux form and react state update after second click
body: <p>Hey guys so I have Screen where I have function</p>
  
  <pre><code>toggle = () =&gt; {
      this.setState({ selectedItem: !this.state.selectedItem})
  }
  </code></pre>
  
  <p>then inside render form component</p>
  
  <pre><code>&lt;SomeForm
      selectedItem={this.state.selectedItem}
      toggle={this.toggle}
      onSubmit={this.onSubmit}
   /&gt;
  </code></pre>
  
  <p>inside the form I'm checking for different state values and updating the redux form value</p>
  
  <pre><code>&lt;TouchableWithoutFeedback
          onPress={() =&gt; {
            toggle()
            if (selectedItem) {
              restInput.onChange('something')
            } else {
              restInput.onChange('')
            }
          }}
  ...
  </code></pre>
  
  <p>the redux form value and the state seem to be one step behind</p>
  
  <p>Any idea how to debug this ? Thanks in forward</p>