The docs for setState say that if passed an object it will merge the current state and the object. So just do:
setState({ a: 4 })
https://reactjs.org/docs/react-component.html#setstate