We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db7e5d4 commit 7f977b1Copy full SHA for 7f977b1
src/components/connectAdvanced.js
@@ -133,11 +133,8 @@ export default function connectAdvanced(
133
134
shouldComponentUpdate(nextProps, nextState) {
135
const childPropsChanged = nextState.childProps !== this.state.childProps;
136
- const storeStateChanged = nextProps.storeState !== this.props.storeState;
137
const hasError = !!nextState.error;
138
139
- let wrapperPropsChanged = false;
140
-
141
const shouldUpdate = childPropsChanged || hasError;
142
return shouldUpdate;
143
0 commit comments