UNPKG

@open-condo/apollo

Version:

A wrapper over @apollo/client that allows you to use persistent cache from local storage, configure TTL, invalidate cache, and use a single configuration for getServerSideProps, SSR, and CSR

5 lines (4 loc) 277 B
/** Internal prop name, in which SSR state will be passed */ export declare const APOLLO_STATE_PROP_NAME = "__APOLLO_STATE__"; /** Internal key name, which is used to store data in localStorage */ export declare const APOLLO_PERSISTED_CACHE_KEY = "__APOLLO_PERSISTED_CACHE__";