As specified in [React docs](https://facebook.github.io/react/docs/react-component.html#setstate): > It's also possible to pass a function with the signature `function(state, props) => newState`. So when we use something like `this.setState((state, props) => {})`, that `props` argument must be covered by rule `prop-types` too.