@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
7 lines (6 loc) • 469 B
TypeScript
export type { InitCacheConfig, InvalidationCacheConfig } from './utils/cache';
export { useCachePersistor, CachePersistorContext } from './utils/cachePersistor';
export { ApolloHelper, extractApolloState } from './utils/client';
export type { InitApolloClientOptions, ApolloHelperOptions, InitializeApollo, UseApollo } from './utils/client';
export { ListHelper } from './utils/lists';
export type { ListHelperOptions, ClientPaginationBehaviour } from './utils/lists';