Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
README.md
Example
with-react
Shows a basic query in urql with React. Open in StackBlitz Open in CodeSandbox
with-react-native
Shows a basic query in urql with React Native. Open in StackBlitz Open in CodeSandbox
with-svelte
Shows a basic query in @urql/svelte with Svelte. Open in StackBlitz Open in CodeSandbox
with-vue3
Shows a basic query in @urql/vue with Vue 3. Open in StackBlitz Open in CodeSandbox
with-next
Shows a basic query in next-urql with Next.js. Open in StackBlitz Open in CodeSandbox
with-pagination
Shows how to generically set up pagination with urql in UI code. Open in StackBlitz Open in CodeSandbox
with-infinite-pagination
Shows how to generically set up infinite scrolling pagination with urql in UI code. Open in StackBlitz Open in CodeSandbox
with-apq
Shows Automatic Persisted Queries with @urql/exchange-persisted. Open in StackBlitz Open in CodeSandbox
with-graphcache-updates
Shows manual cache updates with @urql/exchange-graphcache. Open in StackBlitz Open in CodeSandbox
with-graphcache-pagination
Shows the automatic infinite pagination helpers from @urql/exchange-graphcache. Open in StackBlitz Open in CodeSandbox
with-multipart
Shows file upload support integrated in @urql/core. Open in StackBlitz Open in CodeSandbox
with-refresh-auth
Shows authentication with refresh tokens using @urql/exchange-auth. Open in StackBlitz Open in CodeSandbox
with-retry
Shows retrying of failed operations with @urql/exchange-retry. Open in StackBlitz Open in CodeSandbox
with-defer-stream-directives
Demonstrates urql and @urql/exchange-graphcache with built-in support for @defer and @stream. Open in StackBlitz Open in CodeSandbox
with-subscriptions-via-fetch
Demonstrates @urql/core's built-in support for executing subscriptions with a GraphQL Yoga API via the fetchExchange. Open in StackBlitz Open in CodeSandbox