examples/with-graphcache-updates/README.md
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:
urql bindings and a React app with a client set up in src/client.jscacheExchange from @urql/exchange-graphcache in src/client.jssrc/pages/Links.jsx