• Version 0.4.9
  • Published
  • 76.9 kB
  • 9 dependencies
  • MIT license


npm i apollo-boost
yarn add apollo-boost
pnpm add apollo-boost


The easiest way to get started with Apollo Client



class DefaultClient

class DefaultClient<TCache> extends ApolloClient<TCache> {}


    constructor(config?: PresetConfig);


      interface PresetConfig

      interface PresetConfig {}

        property assumeImmutableResults

        assumeImmutableResults?: boolean;

          property cache

          cache?: ApolloCache<any>;

            property cacheRedirects

            cacheRedirects?: CacheResolverMap;

              property clientState

              clientState?: ClientStateConfig;

                property credentials

                credentials?: string;

                  property fetch

                  fetch?: WindowOrWorkerGlobalScope['fetch'];

                    property fetchOptions

                    fetchOptions?: HttpLink.Options;

                      property fragmentMatcher

                      fragmentMatcher?: LocalStateFragmentMatcher;

                        property headers

                        headers?: any;

                          property name

                          name?: string;

                            property onError

                            onError?: ErrorLink.ErrorHandler;

                              property request

                              request?: (operation: Operation) => Promise<void> | void;

                                property resolvers

                                resolvers?: Resolvers | Resolvers[];

                                  property typeDefs

                                  typeDefs?: string | string[] | DocumentNode | DocumentNode[];

                                    property uri

                                    uri?: string | UriFunction;

                                      property version

                                      version?: string;

                                        Package Files (1)

                                        Dependencies (9)

                                        Dev Dependencies (0)

                                        No dev dependencies.

                                        Peer Dependencies (1)


                                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/apollo-boost.

                                        • Markdown
                                        • HTML
                                          <a href="https://www.jsdocs.io/package/apollo-boost"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>