I have a question about the React::shouldComponentUpdate() method, since I do not understand his behavior.
I have state A , it is an array of objects. I change the state through this.setState() and assign a new property value to some object.
But in React::shouldComponentUpdate(nextProps, nextState), nextState === this.state
How can this be? I want to update a component only when something in nextState not equal to something in this.state .