Skip to content

tanstack/react-query: Introduce Query Key Factories after TanStack Query migration #285

Description

@zalexa19

After the TanStack Query migration, query keys are still defined inline. We should introduce query key factories to standardize key creation and make cache management safer.

This means:

  • Creating domain-based key factories

  • Migrating existing queries

  • Updating invalidation logic

https://tkdodo.eu/blog/effective-react-query-keys#use-query-key-factories

Metadata

Metadata

Assignees

No one assigned

    Labels

    FEFrontend ticket

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions