diff --git a/src/components/connect.js b/src/components/connect.js index 3b60ebbce..7c59b5585 100644 --- a/src/components/connect.js +++ b/src/components/connect.js @@ -162,7 +162,7 @@ export default function connect(mapStateToProps, mapDispatchToProps, mergeProps, updateStatePropsIfNeeded() { const nextStateProps = this.computeStateProps(this.store, this.props) - if (this.stateProps && shallowEqual(nextStateProps, this.stateProps)) { + if (pure && this.stateProps && shallowEqual(nextStateProps, this.stateProps)) { return false }