Repository URL to install this package:
|
Version:
1.2.8 ▾
|
/**
* @file @todo https://www.apollographql.com/docs/react/features/performance.html#cache-redirects
* @todo @see https://www.apollographql.com/docs/react/advanced/boost-migration
*/
import { ApolloClient, HttpLink, InMemoryCache, ApolloLink } from 'apollo-boost';
declare const uri: string;
declare const httpLink: HttpLink;
declare const cache: InMemoryCache;
/**
* @todo
* @requires https://github.com/apollographql/apollo-client/blob/master/docs/source/recipes/server-side-rendering.md#store-rehydration
*
* @see https://github.com/apollographql/apollo-client/blob/82a846c9591bcff975cc28d3786105b80a49b4ba/src/queries/queryTransform.ts#L30
* @see https://github.com/apollographql/apollo-client/issues/1913#issuecomment-348359030
*/
declare const clientConfig: {
link: ApolloLink;
cache: InMemoryCache;
ssrMode: boolean;
};
declare const client: ApolloClient<import("../../node_modules/apollo-cache-inmemory/lib/types").NormalizedCacheObject>;
export default client;
export { cache };
export { client };
export { uri };
export { httpLink };
export { clientConfig };