title: Problems with setState Handlers in React
body: <p>I'm simply trying to change the state of my component via handlers in react, but at the moment of executing the functions the state doesnt change. Here you have the handlers, the state, setStates and the components which I send the handlers as properties</p>
  
  <p>BTW: I'm using webpack with babel loader</p>
  
  <pre><code>export default class Game extends React.Component{
  constructor(){
      super()
      this.state={
          pause: null
      }
  
  }
  PauseShow(){
      this.setState={ pause: "block" }
      console.log("pauseshow")
  }
  PauseHide(){
      this.setState={ pause: "none" }
      console.log("pausehide")
  }
  render(){
  
      return(
          &lt;div className="big-box"&gt;
              &lt;Player idc="Game" src="assets/Fly_Me_to_the_Aegis_Seven_Moon.mp3"/&gt;
              &lt;GameOutput/&gt;
              &lt;GameData pauseMethod={this.PauseShow.bind(this)}/&gt;
              &lt;GameInput /&gt;
              &lt;GamePause display={this.state.pause} pauseMethod={this.PauseHide.bind(this)}/&gt;
  
          &lt;/div&gt;
      )
  }
  </code></pre>
  
  <p>}
  Aquí llamo al un handler que pasé por props</p>
  
  <pre><code>export default class GameData extends React.Component{
  constructor(){
      super()
  }
  render(){
      return(
          &lt;div id="GameData"&gt;
              &lt;button onClick={this.props.pauseMethod}&gt;pause&lt;/button&gt;
          &lt;/div&gt;
  
      )
  }
  </code></pre>
  
  <p>}
  <strong>Here we have the error showed at console when clicking on a button that makes the handler execute</strong></p>
  
  <p>backend.js:8730 Uncaught TypeError: inst.setState.bind is not a function at getData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8730:49) at walkNode (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8576:57) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8579:15 at Array.forEach (native) at walkNode (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8578:20) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8579:15 at Array.forEach (native) at walkNode (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8578:20) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/backend.js:8579:15 at Array.forEach (native)</p>