Skip to content

data-source breaks React Query default behavior: manual refetch() for queries with enabled: false no longer works as expected #52

Description

@arteria32

In React Query, a query with enabled: false does not fetch data automatically, but can still be refetched manually.

The @gravity-ui/data-source wrapper overrides this behavior — see this change.

I suggest either reverting this change or documenting the breaking change more clearly in the minor release notes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions