With Graphcache's Pagination#
This example shows urql in use with @urql/exchange-graphcache and demonstrates a manual cache
update, as explained in the "Cache Updates" docs page.
This example uses the trygql.formidable.dev/graphql/web-collections
schema and builds on top of the with-refresh-auth
example so that we can authenticate with the schema before creating links on
it.
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
urqlbindings and a React app with a client set up insrc/client.js - The
cacheExchangefrom@urql/exchange-graphcacheinsrc/client.js - A links list and link creation in
src/pages/Links.jsx