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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow apollo3-cache-persist

apollo3-cache-persist Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of apollo3-cache-persist!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2023-03-03