title: react, incompatible override, should have signature
body: <p>When I use the shouldComponentUpdate function , 
  webStorm gives a warning <code>incompatible override, should have signature ....</code>, 
  but the code working well. Do I miss some bug, that I didn't realise?  </p>
  
  <p>The code:</p>
  
  <pre><code>shouldComponentUpdate(nextProps){
      if(nextProps.TAC.length === 8 &amp;&amp; nextProps.TAC !== this.props.TAC){
        fetch(`http://${host}:3001/searchHistory`,{
          method:'post',
          headers:{'Content-Type':'application/json'},
          credentials:'include',
          body:JSON.stringify({TAC:Number(nextProps.TAC)})
        }).then(res=&gt;res.json())
          .then(result=&gt;{
            if(result){
              Alert.alert('提示','该信息为今天录入／已经缓存',[
                {text:'取消', onPress:()=&gt;this.props.toggleStatus(false)},
                {text:'查看',onPress:()=&gt;this.props.toggleStatus(true)},
              ],{
                cancelable:false
              })
            }
          });
      }
      return nextProps !== this.props
    }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/fRfky.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fRfky.png" alt="Code"></a></p>