@urql/devtools
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published
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.

/@urql/devtools/

    Package Sidebar

    Install

    npm i @urql/devtools

    Weekly Downloads

    53,344

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    95.1 kB

    Total Files

    35

    Last publish

    Collaborators

    • scottianstewart
    • keithluchtel
    • ceceppa
    • robwalkerco
    • sarahformidable
    • scott-rippey
    • michaelmerrill
    • sarmeyer
    • mariano-formidable
    • ryan.roemer
    • formidable-owner
    • formidablelabs
    • carbonrobot
    • masiddee
    • philpl
    • andyrichardson
    • jdecroock
    • parkerziegler
    • npm-urql