# DamianOsipiuk/vue-query

Hooks for fetching, caching and updating asynchronous data in Vue

Repository: https://github.com/DamianOsipiuk/vue-query
Canonical: https://ross.abutalabs.com/products/vue-query
Homepage: https://vue-query.vercel.app/
Language: TypeScript
License: MIT
License Family: permissive
Topics: vue, fetch, graphql, hooks, query, rest, async, cache, stale, stale-while-revalidate
Last push: 2023-06-27T14:28:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2035, "days_push": 1163, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1111, forks 48 (observed 2026-08-28T04:03:37.631619+00:00)

## What it is
Vue Query is a library of composables (hooks) for fetching, caching, and updating asynchronous data in Vue 2 and Vue 3 applications, ported from react-query. It has been migrated into the TanStack Query monorepo as @tanstack/vue-query, so this package is no longer independently developed.

## Use cases
- fetch and cache REST API data in a Vue app
- query a GraphQL backend with automatic caching
- implement infinite scroll or paginated queries in Vue
- refetch data on window focus or polling intervals
- manage server state and mutations with reactive refetching
- cancel in-flight requests when components unmount

## When to choose
- you need server-state management with caching in Vue 2 or Vue 3
- you want react-query semantics in a Vue codebase
- you need stale-while-revalidate, polling, or infinite queries out of the box

## When to avoid
- starting a new project - use @tanstack/vue-query instead, since this package is migrated and unmaintained
- you need client-side state management rather than server-state caching
- your project does not use Vue

## Facets
- artifact type: library
- maturity: maintenance
- function: caching, http-client, state-management
- domain: web-development, frontend, apis
- platform: cross-platform
- tags: vue, data-fetching, stale-while-revalidate, react-query-port, tanstack-query, composables, nodejs

## Member repositories
- DamianOsipiuk/vue-query (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.631619+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:42:54.269008+00:00, confidence not recorded.
  - readme: https://github.com/DamianOsipiuk/vue-query (fetched 2026-08-28T04:03:37.631619+00:00, sha 945534d6561b)
  - homepage: https://vue-query.vercel.app/ (fetched 2026-08-29T12:46:31.301785+00:00, sha 61d6bf9f0b1f)
  - registry_npm: https://registry.npmjs.org/vue-query (fetched 2026-08-29T12:46:31.310788+00:00, sha aa8d3a30101d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
