The official exchange for use with Urql Devtools
npm install @urql/devtoolsThe official devtools exchange for use with the Urql Devtools browser extension
A first-party exchange for urql which interfaces with the Urql Devtools browser extension.
Install this package
``shnpm
npm i @urql/devtools
Add the exchange to your
urql client`js
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)
Have experience working with devtools extensions or want to get involved? Check out our contributing docs to get started.