Why it is not necessary to spread the current state (…this.state) when I handle input change in React Class Component? In current state I have other objects
handleInputChange = (newValue: string) => {
this.setState({
...this.state, *<--- this string*
value: newValue,
});
};