examples/with-multipart/README.md
This example shows urql in use with @urql/exchange-multipart-fetch's multipartFetchExchange
to support file uploads in GraphQL. This largely follows the "File Uploads" docs
page
and uses the trygql.formidable.dev/graphql/uploads-mock 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.jsxsrc/FileUpload.jsx