# @urql/exchange-retry

> An exchange for operation retry support in urql

Latest version **2.0.0** (published 2025-08-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @urql/exchange-retry
pnpm add @urql/exchange-retry
yarn add @urql/exchange-retry
bun add @urql/exchange-retry
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2025-08-09 |
| First published | 2020-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 32.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 8986 |
| Author | urql GraphQL Contributors |
| Maintainers | michaelmerrill, sarmeyer, mariano-formidable, ryan.roemer, formidable-owner, formidablelabs, carbonrobot, masiddee, scott-rippey, sarahformidable, robwalkerco, ceceppa, keithluchtel, scottianstewart, philpl, andyrichardson, jdecroock, parkerziegler, npm-urql |
| Keywords | urql, graphql client, graphql, exchanges, retry |

## Links

- npm: https://www.npmjs.com/package/@urql/exchange-retry
- Repository: https://github.com/urql-graphql/urql
- Homepage: https://formidable.com/open-source/urql/docs/
- Issues: https://github.com/urql-graphql/urql/issues
- npm.io page: https://npm.io/package/@urql/exchange-retry

## Dependencies (2)

- [wonka](https://npm.io/package/wonka.md) ^6.3.2
- [@urql/core](https://npm.io/package/@urql/core.md) ^6.0.0

## 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

- 2.0.0 (latest) — 2025-08-09
- 2.0.0-canary-b981b388ee9ed0066399a632aad6b84559f014a6 (canary) — 2025-08-09
- 2.0.0-canary-d3b019d51905c1c8b22be9ea1d9fe9ca4335a46c — 2025-08-09
- 2.0.0-canary-b2d8b993af4abb0ffc5c5284b90aca56c527f045 — 2025-06-29
- 1.3.2 — 2025-06-27
- 1.3.1 — 2025-03-03
- 1.3.1-canary-573944cea80f766668d3b9d8aa1afd2c50d744a4 — 2025-03-03
- 1.3.0 — 2024-05-10
- 1.3.0-canary-9bf3289b — 2024-05-07
- 1.3.0-canary-019b1bb0 — 2024-05-04
- 1.3.0-canary-9272cefa — 2024-05-03
- 1.3.0-canary-0204e044 — 2024-05-03
- 1.2.1 — 2024-01-17
- 1.2.1-canary-1fabe358 — 2024-01-17
- 1.2.0 — 2023-05-31
- … 49 more at https://npm.io/package/@urql/exchange-retry/versions

## README

# @urql/exchange-retry (Exchange factory)

`@urql/exchange-retry` is an exchange for the [`urql`](../../README.md) GraphQL client that allows operations (queries, mutations, subscriptions) to be retried based on an `options` parameter.

## Quick Start Guide

First install `@urql/exchange-retry` alongside `urql`:

```sh
yarn add @urql/exchange-retry
# or
npm install --save @urql/exchange-retry
```

Read more about the [retry exchange](https://formidable.com/open-source/urql/docs/advanced/retry-operations).

---
_Source: https://npm.io/package/@urql/exchange-retry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
