I've never used an arrow function like this the code do works but I want to know how
handleChange = (input) => (e) => { this.setState({ [input]: e.target.value }); };