Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

With @defer / @stream Directives#

Open in StackBlitz Open in CodeSandbox

This example shows urql in use with @defer and @stream directives in GraphQL.

To run this example install dependencies and run the start script:

yarn install
yarn run start
# or
npm install
npm run start

This example contains:

  • The urql bindings and a React app with a client set up in src/App.jsx
  • A local graphql-yoga server set up to test deferred and streamed results in server/.