examples/with-apq/README.md
This example shows urql in use with @urql/exchange-persisted-fetch's persistedFetchExchange
to support Automatic Persisted
Queries. This largely follows
the "Persisted Queries" docs
page
and uses the trygql.formidable.dev/graphql/apq-weather schema.
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/App.jsxpersistedFetchExchange from @urql/exchange-persisted-fetch in src/App.jsxsrc/LocationsList.jsx