Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
React with ES2015 以降なら form 部品での onChange ってこれでいいんじゃねえかなあ
handleChangeFormValue(event) {
this.setState({
[event.target.name]: event.target.value
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment