tnc-ca-geo / animl-frontend

A frontend web app for viewing & labeling camera trap data by The Nature Conservancy.
https://animl.camera
15 stars 0 forks source link

Evaluate alternative GraphQL clients #209

Open nathanielrindlaub opened 3 months ago

nathanielrindlaub commented 3 months ago

We chose graphql-request originally because it was lightweight and flexible, but now that we've migrated to Apollo Server v4 a few new needs have come up that graphql-request doesn't fully support:

  1. a clean way to handle network errors (see https://github.com/jasonkuhrt/graphql-request/issues/5)
  2. graphql-request does support aborting in-flight requests (#205), but it may be challenging to store AbortController instances in Redux state

Some alternatives to consider are: