diff --git a/lib/reducers/user-reducer.js b/lib/reducers/user-reducer.js --- a/lib/reducers/user-reducer.js +++ b/lib/reducers/user-reducer.js @@ -298,7 +298,17 @@ const newUserInfos = _keyBy(userInfo => userInfo.id)( action.payload.updates.userInfos, ); - const updated = { ...state.userInfos, ...newUserInfos }; + const processedUserInfos: UserInfos = processUserStoreOps( + state.userInfos, + convertUserInfosToReplaceUserOps(newUserInfos), + ); + const updated: UserInfos = { ...state.userInfos, ...newUserInfos }; + assertUserStoresAreEqual( + processedUserInfos, + updated, + action.type, + onStateDifference, + ); const newState = !_isEqual(state.userInfos)(updated) ? { ...state,