Liking cljdoc? Tell your friends :D

apollo.client


clientcljs

(client opts)

Returns a new Apollo client.

Returns a new Apollo client.
raw docstring

fetch-more!cljs

(fetch-more! observable opts)

gqlcljs

(gql query)

Returns the GraphQL AST of query.

Returns the GraphQL AST of `query`.
raw docstring

(http-link & [opts])

Returns a new Apollo HTTP link.

Returns a new Apollo HTTP link.
raw docstring

IDocumentcljsprotocol

-documentcljs

(-document x)

Convert x to a GraphQL document.

Convert `x` to a GraphQL document.

in-memory-cachecljs

(in-memory-cache)

Returns a new Apollo in memory cache.

Returns a new Apollo in memory cache.
raw docstring

mutate!cljs

(mutate! client opts)

network-statuscljs

Mapping from Apollo network status to keyword.

Mapping from Apollo network status to keyword.
raw docstring

observable-current-resultcljs

(observable-current-result observable)

observable-resultcljs

(observable-result observable)

observable-subscribecljs

(observable-subscribe observable next-fn & [error-fn complete-fn])

querycljs

(query client opts)

read-querycljs

(read-query store opts)

reset-store!cljs

(reset-store! client)

set-variables!cljs

(set-variables! observable {:keys [fetch-results variables try-fetch] :as opts})

Set the variables of the query watched by observable.

Set the `variables` of the query watched by `observable`.
raw docstring

tear-down-querycljs

(tear-down-query observable)

watch-querycljs

(watch-query client opts)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close