Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ export const buildBatchedActionsHandler: InternalHandlerBuilder<
)
}

if (api.util.resetApiState.match(action)) {
previousSubscriptions = internalState.currentSubscriptions = {}
return [true, false]
}

// Intercept requests by hooks to see if they're subscribed
// Necessary because we delay updating store state to the end of the tick
if (api.internalActions.internal_probeSubscription.match(action)) {
Expand Down