React shouldComponentUpdate() is called even when props or state for that component did not change
<p>I added lifecycle method to my React component</p>

<pre><code>  shouldComponentUpdate(nextProps, nextState) {
    console.log(nextProps, nextState);
    console.log(this.props, this.state);

    return false;  
  },
</code></pre>

<p>My issue is that this method is called on the component even when nextProps, and nextState, is exactly the same as the current props and state. When I compare the console.log statements for nextProps and this.props the are exactly the same. Same with the state. </p>

<p>So why is shouldComponentUpdate called? </p>

<p>It is called whenever I change the state of the parent component. But none of the props or state are changing on the actual component. So why is it called?</p>

<p>fyi, I am using React with Meteor</p>

<p>Further Clarification:</p>

<p>I am wondering why the function <code>shouldComponentUpdate</code> is being called in the first place. None of the state or props of that component are changing. But the state of the parent component is changing.</p>