ifStale constant

RefetchOn const ifStale

The event triggers a refetch only when the data is stale — the default for mount, focus and reconnect (TanStack Query: true).

Implementation

static const RefetchOn ifStale = RefetchOnIfStale();