title: Pass input value through react-redux action payload?
body: <pre><code>export class SearchBar extends React.Component {
    render() {
      return (
        &lt;div&gt;
          &lt;input onChange={this.props.onSearchTermChange} /&gt;
        &lt;/div&gt;
      );
    }
  }
  
  const mapDispatchToProps = dispatch =&gt; {
    return {
      onSearchTermChange: () =&gt;
        dispatch({
          type: "SEARCHTERMCHANGE",
          payLoad: {}
        })
    };
  };
  </code></pre>
  
  <p>Basically when the input changes i want to call the "onSearchTermChange" action and pass the value of the input to a reducer, but I don't know how to access the input value from the the action onSearchTermChange.</p>