code: function (event) {
        var target = event.target;
        var key = target.getAttribute('name');
        var nextState = {};
        nextState[key] = target.value;
        this.setState(nextState);
      }
docs: Whenever an input changes, set it into this.state