{"repo":"apollographql/apollo-cache-persist","free":true,"listed":false,"github":"https://github.com/apollographql/apollo-cache-persist","clone":"git clone https://github.com/apollographql/apollo-cache-persist.git","description":"🎏 Simple persistence for all Apollo Cache implementations","language":"TypeScript","stars":1418,"topics":["offline","react-native","apollo","graphql"],"license":"MIT","category":"mobile-apps","readme_excerpt":"apollo3-cache-persist Simple persistence for all Apollo Client 3.0 cache implementations, including [ InMemoryCache ][0] and [ Hermes ][1]. Supports web and React Native. See all storage providers. [0]: https://github.com/apollographql/apollo-client/tree/master/src/cache/inmemory [1]: https://github.com/convoyinc/apollo-cache-hermes - Basic Usage - React Native - Web - Storage Providers - Advanced Usage - FAQ - Contributing - Maintainers Basic Usage or 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). Examples React Native Web See a complete example in the web example. Contributing Want to make the project better? Awesome! Please read through our Contributing Guidelines. Maintainers We all do this for free... so please be nice 😁. - @wtrocki - @wodCZ - @jspizziri","default_branch":null,"files":null,"tree":[],"storefront":"/r/apollographql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apollographql/apollo-cache-persist/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}