apollo-cache-instorage
apollo-cache-instorage copied to clipboard
Apollo Cache implementation that facilitates locally storing resources
On Apollo 3 configuring the @persist directive (addPersistField option) will produce errors of this sort Cannot query field '__persist' on type '_QueryMeta'. (line 12, column 5): __persist
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2. Changelog Sourced from yargs-parser's changelog. 15.0.0 (2019-10-07) Features rework collect-unknown-options into unknown-options-as-args, providing more comprehensive functionality (ef771ca) BREAKING CHANGES rework collect-unknown-options into unknown-options-as-args, providing...
Hey, nice to see this elegant solution for persisting data, but I'm facing some issue on React Native implementation. **My Apollo client configuration:** ```jsx import AsyncStorage from '@react-native-community/async-storage'; const cache...
I'm having a really hard time trying to understand how to restore data properly. I managed to restore simple data (when key is a string) by overwriting the initial state....
Thank you for that great library! It's very useful. For some reason, apollo-cache-instorage clears localStorage when I call client.resetStore() after a user logs in. I can see it's related to...
Since the InStorageCache requires a storage compatible with WebStorage, how would integrate this with nextjs? doing this won't work ```js const cache = new InStorageCache({ storage: isServer() ? : window.localStorage,...
Bumps [json5](https://github.com/json5/json5) from 2.1.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...