Skip to content

Instantly share code, notes, and snippets.

@Brian-Bassett
Last active February 18, 2019 20:10
e => {
const obj = {}
obj[e.target.name] = e.target.value;
this.setState(obj)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment