score:1

Accepted answer
setEmail = (e) => {
    const {value} = e.target;
    this.setState(() => ({email: value}))
}

Related Query

More Query from same tag