// Correct this.setState(function(state, props) { return { counter: state.counter + props.increment }; });