{"library":"graphql-persisted","type":"library","category":null,"description":"An experimental, opinionated GraphQL client library focused on server-persisted queries, type safety, and minimizing GraphQL usage in client code. Current version 0.0.7 is WIP and not for production. It leverages graphql-normalize and offers React hooks for persisted queries, mutations, and subscriptions. Key differentiators: no client-side graphql dependency, fully persisted operations, and built-in type safety with TypeScript declarations. The package is pre-1.0 and APIs are subject to breaking changes.","language":"javascript","status":"active","version":"0.0.7","tags":["javascript","graphql","query","persisted queries","stored operations","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-persisted","imports":["import { GraphQLQueryCache } from 'graphql-persisted'","import { usePersistedQuery } from 'graphql-persisted'","import { usePersistedMutation } from 'graphql-persisted'","import { unwrapFragment } from 'graphql-persisted'","import type { PersistedQueryResult } from 'graphql-persisted'"]},{"cmd":"yarn add graphql-persisted","imports":[]},{"cmd":"pnpm add graphql-persisted","imports":[]}],"homepage":"https://github.com/tgriesser/graphql-persisted#readme","github":"https://github.com/tgriesser/graphql-persisted","docs":null,"changelog":null,"pypi":null,"npm":"graphql-persisted","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}