{"library":"apollo-link-batch-http","type":"library","category":null,"description":"A terminating link for Apollo Client that batches multiple GraphQL operations (queries, mutations) into a single HTTP POST request to reduce network overhead. Current version is 1.2.14, last updated in 2019, and part of the Apollo Link ecosystem. It is in maintenance mode; the successor is the `@apollo/client` core link. Key differentiator: unlike serial requests, it groups operations by configurable batch key, interval (default 10ms), and max count (default 10). Requires `graphql` peer dependency and a `fetch` polyfill for non-browser environments (e.g., `unfetch` or `node-fetch`). Ships TypeScript types. Use only with Apollo Client v2; v3 uses `@apollo/client/link/batch-http`.","language":"javascript","status":"maintenance","version":"1.2.14","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install apollo-link-batch-http","imports":["import { BatchHttpLink } from 'apollo-link-batch-http'","const link = new BatchHttpLink({ uri: '/graphql' })","import { withClientState } from 'apollo-link-state'"]},{"cmd":"yarn add apollo-link-batch-http","imports":[]},{"cmd":"pnpm add apollo-link-batch-http","imports":[]}],"homepage":"https://www.apollographql.com/docs/react/api/link/apollo-link-batch-http/","github":"https://github.com/apollographql/apollo-link","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/apollo-link-batch-http","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/apollo-link-batch-http/compatibility"}}