title: TypeError: this.props.update is not a function
body: <p>Iam trying to do two way binding in react.where if we change any value in parent or child, it should reflect in another component. Since it is getting error while passing the input value. please help.</p>
  
  <p>parent</p>
  
  <pre><code>export default class Header extends Component {
    constructor() {
      super();
      this.state = {
        value: "sample"
      };
    }
    updated(changeValue) {
      this.setState({
        value: changeValue
      })
    }
    render() {
      return (
        &lt;div&gt;
          &lt;h1&gt;{this.state.value} &lt;/h1&gt;
          &lt;App value={this.state.value} update={this.updated.bind(this)} /&gt;
        &lt;/div&gt;
  
      );
    }
  }
  </code></pre>
  
  <p>child :</p>
  
  <pre><code>class App extends Component {
    update(event) {
      var changeValue = event.target.value;
      this.props.update(changeValue);
    }
    render() {
      return (
        &lt;div&gt;
          &lt;input type="text" value={this.props.value} onChange={this.update.bind(this)} /&gt;
        &lt;/div&gt;
      );
    }
  }
  </code></pre>