JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 97127
  • Score
    100M100P100Q216597F
  • License MIT

The official exchange for use with Urql Devtools

Package Exports

  • @urql/devtools

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@urql/devtools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

logo

Urql Devtools Exchange

The official devtools exchange for use with the Urql Devtools browser extension

CircleCI Build Status NPM Release Spectrum badge Licence MIT

About

A first-party exchange for urql which interfaces with the Urql Devtools browser extension.

Usage

Install this package

# npm
npm i @urql/devtools

# yarn
yarn add @urql/devtools

Add the exchange to your urql client

import { createClient, defaultExchanges } from 'urql';
import { devtoolsExchange } from '@urql/devtools';

const client = createClient({
  url: 'http://localhost:3001/graphql',
  exchanges: [devtoolsExchange, ...defaultExchanges],
});

Note: we recommended putting this exchange before all other exchanges (as demonstrated above)

Contributing

Have experience working with devtools extensions or want to get involved? Check out our contributing docs to get started.