diff --git a/src/view/draggable/connected-draggable.ts b/src/view/draggable/connected-draggable.ts index 867fc382c..e763bd7af 100644 --- a/src/view/draggable/connected-draggable.ts +++ b/src/view/draggable/connected-draggable.ts @@ -380,9 +380,7 @@ const ConnectedDraggable = connect( { // Using our own context for the store to avoid clashing with consumers context: StoreContext as any, - // Default value, but being really clear - pure: true, - // When pure, compares the result of mapStateToProps to its previous value. + // Default value: shallowEqual // Switching to a strictEqual as we return a memoized object on changes areStatePropsEqual: isStrictEqual, diff --git a/src/view/droppable/connected-droppable.ts b/src/view/droppable/connected-droppable.ts index 2d77f3213..4404c7ccb 100644 --- a/src/view/droppable/connected-droppable.ts +++ b/src/view/droppable/connected-droppable.ts @@ -266,9 +266,7 @@ const ConnectedDroppable = connect( { // Ensuring our context does not clash with consumers context: StoreContext as any, - // pure: true is default value, but being really clear - pure: true, - // When pure, compares the result of mapStateToProps to its previous value. + // Default value: shallowEqual // Switching to a strictEqual as we return a memoized object on changes areStatePropsEqual: isStrictEqual,