Also setState under the covers uses Object.assign which let's you use partial objects like {a:10} while this.state has {b:20}. this.state would end up with {a:10, b:20}.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Also setState under the covers uses
Object.assign
which let's you use partial objects like{a:10}
while this.state has{b:20}
. this.state would end up with{a:10, b:20}
.