Open
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...)