change: <button type="button" onClick={this.myFunction(argument)}> myButton </button> to this: <button type="button" onClick={this.myFunction.bind(this, argument)}> myButton </button>