{"library":"apollo-cache-inmemory","type":"library","category":null,"description":"apollo-cache-inmemory is the recommended cache implementation for Apollo Client 2.x, providing a normalized data store without Redux dependency. Version 1.6.6 is the final release; this package is deprecated in favor of @apollo/client which bundles InMemoryCache starting from Apollo Client 3.0. The cache uses a normalized data store with configurable dataIdFromObject, supports readQuery, readFragment, writeQuery, writeFragment for direct cache access, and includes a heuristic fragment matcher with optional introspection support for unions/interfaces. Releases adhere to Apollo Client's schedule (monthly patches, minor releases less frequent). Key differentiator: seamless integration with Apollo Client without external state management.","language":"javascript","status":"deprecated","version":"1.6.6","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install apollo-cache-inmemory","imports":["import { InMemoryCache } from 'apollo-cache-inmemory'","import { IntrospectionFragmentMatcher } from 'apollo-cache-inmemory'","import { defaultDataIdFromObject } from 'apollo-cache-inmemory'","import { CacheResolver } from 'apollo-cache-inmemory'"]},{"cmd":"yarn add apollo-cache-inmemory","imports":[]},{"cmd":"pnpm add apollo-cache-inmemory","imports":[]}],"homepage":"https://www.apollographql.com/docs/react/","github":"https://github.com/apollographql/apollo-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/apollo-cache-inmemory","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-cache-inmemory/compatibility"}}