Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • TCacheShape

Hierarchy

  • ApolloClient

Implements

Index

Constructors

  • Type Parameters

    • TCacheShape

    Parameters

    Returns ApolloClient<TCacheShape>

Properties

cache: ApolloCache<TCacheShape>
clearStoreCallbacks: any
defaultOptions: DefaultOptions
devToolsHookCb: any
disableNetworkFetches: boolean
localState: any
queryDeduplication: boolean
queryManager: any
resetStoreCallbacks: any
typeDefs: undefined | string | string[] | DocumentNode | DocumentNode[]
version: string

Methods

  • __actionHookForDevTools(cb: (() => any)): void
  • Parameters

    • cb: (() => any)
        • (): any
        • Returns any

    Returns void

  • Parameters

    Returns void

  • Returns internal.Promise<any[]>

  • extract(optimistic?: boolean): TCacheShape
  • Parameters

    • Optional optimistic: boolean

    Returns TCacheShape

  • Returns Resolvers

  • readFragment<T, TVariables>(options: Fragment<TVariables, T>, optimistic?: boolean): null | T
  • Type Parameters

    Parameters

    • options: Fragment<TVariables, T>
    • Optional optimistic: boolean

    Returns null | T

  • restore(serializedState: TCacheShape): ApolloCache<TCacheShape>
  • Parameters

    • serializedState: TCacheShape

    Returns ApolloCache<TCacheShape>

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • stop(): void
  • Returns void

Generated using TypeDoc