title: Difference between binding a method and not
body: <p>I've been into a several React projects now, and I've notice in one project that every new method is not binded. What is the actual difference (if there's any)? Why bind if you could do it like the second example?</p>
  
  <p>In the first case, the code has looked like this:</p>
  
  <pre><code>constructor(props) {
    super(props);
    this.state = { myState: false };
    this.clickMe = this.clickMe.bind(this);
  }
  
  clickMe() {
    this.setState({ myState: !this.state.myState });
  }
  </code></pre>
  
  <p>The other example looks like this:</p>
  
  <pre><code>constructor(props) {
    super(props);
    this.state = { myState: false };
  }
  
  clickMe = () =&gt; {
    this.setState({
      myState: !this.state.myState
    });
  }
  </code></pre>