Skip to content

sporieg/urql-devtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Urql Devtools

The official browser extension for Urql

CircleCI Build Status Chrome Web Store Firefox Addon Fixtures Spectrum badge Licence MIT


Features

📬 Event timeline

See all debugging and network events in real time.

🗂 Cache explorer

Explore your cache and see when cached data is being used.

🚀 Request tool

Explore your backend schema and trigger queries directly via your running Urql client.

Usage

Install the extension for your browser of choice

Install the devtools exchange

# npm
npm i -D @urql/devtools

# yarn
yarn add -D @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],
});

Contributing

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

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 2.4%
  • Other 0.4%