HTTP, GraphQL and sockets

7 entries

TanStack Query is the most-starred entry and manages server state: caching, background refetching, retries, pagination and invalidation, with a Vue adapter for Vue 2 and 3. swrv applies the stale-while-revalidate pattern in a smaller package, and vue-request offers similar composables with polling and caching. These libraries sit on top of fetch or the HTTP client of your choice rather than replacing it.

For GraphQL, vue-apollo integrates Apollo Client with Vue and offers composables in its current major version; check that the release you install matches your Vue version. vue-api-query builds REST requests in an ActiveRecord style, and vue-vroom generates typed stores with a mock API. In Nuxt, the built-in useFetch and useAsyncData cover many fetching needs with SSR support, so add a library when you need richer caching or mutations.

On the bench stars against last commit

7 entries

tanstack-query@tanstack/vue-query

Powerful asynchronous state management.

Vue 2 + 350.5kupdated 1d ago

vue-apolloGraphQL

Apollo/GraphQL integration for VueJS.

Vue 2 only6kupdated 22d ago

swrvswrv

Stale-while-revalidate data fetching for Vue.

Vue 32.3kupdated 17d ago

vue-api-query

Elegant and simple way to build requests for REST API.

Not stated1.7kupdated 1y ago

vue-requestvue-request

Vue 3 Composable for data fetching, supports SWR, polling, error retry, cache request, pagination, and other cool features.

Vue 2 + 31.4kupdated 1y ago

@stitchapi/vue@stitchapi/vue

Streaming-first StitchAPI bindings: typed, validated useStitch / useStitchStream composables that re-render as response deltas arrive.

Vue 320updated 3d ago

vue-vroomvue-vroom

A plugin for REST APIs, that lets you quickly generate type safe stores and a mock API with minimal config.

Vue 311updated 2y ago
Esc

Type to search every entry. ↑↓ to move, Enter to open.