-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
RTK-QueryIssues related to Redux-Toolkit-QueryIssues related to Redux-Toolkit-QueryenhancementNew feature or requestNew feature or request
Milestone
Description
The logic in the context.batch() call inside invalidationByTags.ts is inefficient, because it dispatches a separate removeQueryResult() action for each entry. We could have a single action named removeQueryResults and group all those in one array, and do one dispatch.
(This will cause issues with cacheLifecycle.ts, so this will require some careful logic consideration...)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RTK-QueryIssues related to Redux-Toolkit-QueryIssues related to Redux-Toolkit-QueryenhancementNew feature or requestNew feature or request