Skip to content

Instantly share code, notes, and snippets.

View michaelcbrook's full-sized avatar

Michael Brook michaelcbrook

View GitHub Profile
@michaelcbrook
michaelcbrook / README.md
Created December 14, 2021 17:31
Apollo Client Example

Apollo Client Example

This example shows how to configure Apollo Client for a Meteor app, using the Pitchly GraphQL API.

This example supports:

  1. Websocket subscriptions
  2. Automatic token refresh and retry when access token is invalid or expires
  3. Automatic retry when there is a brief network interruption
  4. Error normalization