Specialized shouldComponentUpdate on PureComponent : <p>I am trying to create a component that shouldn't when a certain property is true, but should perform a shallow compare (the default for <code>PureComponent</code>).</p>

<p>I've tried doing the following behavior:</p>

<pre><code>export default class ContentsListView extends PureComponent&lt;Props&gt; {
  shouldComponentUpdate(props: Props) {
    if (props.selecting) {
      return false;
    }
    return super.shouldComponentUpdate(props);
  }

  render() {
  }
}
</code></pre>

<p>However, <code>super.shouldComponentUpdate</code> is not defined. Is there some way to "tap into" the shallow compare of <code>PureComponent</code> without writing my own?</p>
