Notes
Data States
one-liner stub from my early React notes on updating state by passing a new object to this.setState
ReactJS
States
To update the state, you can call this.setState passing in a new object which overwrites one or both of the email and password properties.