title: call two functions within onchange event in react
body: <p>I am trying to call two functions with an onChange event for search functionality dynamically in react. in first function I am setting the state for a value and in second function I have to call the value and execute the function.</p>
  
  <p>I was not able to call two functions at same time. I am not adding the mock JSON with this sample code.</p>
  
  <pre><code> handleChange(e) {
     this.setState({ value: e.target.value.substr(0, 20) });
  }
  filterFunction(filteredSections) {
    let search = filteredSections;
    search = filteredSections.filter(somesection =&gt; somesection.insidesection &amp;&amp; somesection.insidesection.name.toLowerCase().indexOf(this.state.value.toLowerCase()) !== -1);
  return search;
      }
   render() {
      const filteredSections = othersection;
  return(
  
  &lt;div&gt;
  &lt;FormControl
      name="searching"
      placeholder="Searching"
      onChange={e =&gt; this.handleChange(e).bind(this)}
      onChange={() =&gt; this.filterFunction(filteredSections)}
  /&gt;
  &lt;/div&gt;
  &lt;div&gt;
      {filteredSections.map(section =&gt;&lt;othersection customization={section} } }
  &lt;/div&gt;
  )
  }
  </code></pre>
  
  <p>the expected should be onchange event has to be call both the functions.</p>