# @xxskyy/vue-apollo-helper

> Helpful Vue Apollo helpers

Latest version **1.0.2** (published 2022-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @xxskyy/vue-apollo-helper
pnpm add @xxskyy/vue-apollo-helper
yarn add @xxskyy/vue-apollo-helper
bun add @xxskyy/vue-apollo-helper
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-04-23 |
| First published | 2022-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | xxSkyy |
| Maintainers | xxskyy |
| Keywords | vue-apollo, async, apollo, graphql, vue, async vue apollo |

## Links

- npm: https://www.npmjs.com/package/@xxskyy/vue-apollo-helper
- Repository: https://github.com/xxSkyy/vue-apollo-helper
- npm.io page: https://npm.io/package/@xxskyy/vue-apollo-helper

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-04-23
- 1.0.1 — 2022-04-23
- 1.0.0 — 2022-04-23

## README

# Vue-Apollo V4 Helper

It's small library to make your Vue-apollo experince smoother and less complicated.

## Features

### Watch Result

Fix for known from a long time [issue](https://github.com/vuejs/apollo/issues/1154) that causing cached results don't call onResult function.

### example:

```js
const { result } = useQuery(query)

watchResult(result, (result) => {
  // Will always be called, even on cached queries
  console.log(result)
})
```

### Async Result

Function that returns result from query as `Promise` , helpful with actually in experimental state `Suspense` feature and removing overhead from simple async functions.

### example:

```js
const { result } = useQuery(query)

const result = await asyncResult(result)
```

---
_Source: https://npm.io/package/@xxskyy/vue-apollo-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
