0
I wonder why use and working when we use setState, in a few moments I see examples like this below:
this.setState({
edit: {
...this.state.edit
}
});
Why does it use the three points (...) before this.state.Edit, what does it do?
What improvements will the Spread Operator implementation bring to javascript?
– NoobSaibot
MDN Documentation - Spread Operator
– NoobSaibot