swr graphql wrapper

This library provides an swr wrapper which allows to run type-safe gql requests. It consists of

  • a Graphql fetcher for direct requests (i.e. on ssr)
  • a react hook wrapping swr

Both the hook and the fetcher accept a TypedDocumentNode generated by gql codegen