Simple persistence for all Apollo Client 3.0 cache implementations, including InMemoryCache and Hermes. To get started, simply pass your Apollo cache and an underlying storage provider to persistCache. By default, the contents of your Apollo cache will be immediately restored (asynchronously, see how to persist data before rendering), and will be persisted upon every write to the cache (with a short debounce interval).
Features
- See a complete example in the web example
- To get started, simply pass your Apollo cache and an underlying storage provider to persistCache
- Supports web and React Native
- React Native examples
- Web examples
- For all Apollo Client 3.0 cache implementations
Categories
Software DevelopmentLicense
MIT LicenseFollow apollo3-cache-persist
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of apollo3-cache-persist!