event.target.name in setState

inputChangeHandler: function ({ target: { id, value }) {
    this.setState({ [id]: value });
},
Salo Hopeless