score:0

this.setState({
  numberOfEvents: value,
}, () => {
           this.props.updateNumberOfEvents(value);
          }
);
    

score:0

<input
  type="text"
  className="EventsNumber"
  value={this.props.numberOfEvents}
  onChange={this.handleInputChanged}
/>

Related Query

More Query from same tag