Skip to content

Try to optimize invalidationByTags.ts #3823

Open
@markerikson

Description

@markerikson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions