Bot releases are hidden (Show)
$loadingKey
: default value for the component$error
: extra error handler for the component$watchLoading
: extra loading watcherdefaultOptions
: default object for all the apollo
definitionswatchLoading
: global loading watchererrorHandler
: global error handlervariables
is now undefined
if prefetch
is true
and no variables
option is present on the smart querygetStates
method (doc).subscribeToMore
directly inside query definition (doc).refetch
, fetchMore
, setVariables
and setOptions
now trigger loading state changes.result
hook parameter is now a full ApolloQueryResult object.apolloProvider.collect
new waitForLoaded
option (doc). This allow waiting for all queries to be loaded, even when they return partial results (for example, from cache).vue-router
or vuex
), instead of passing the apollo client into the plugin directly. More info in the docs. This breaking change was necessary for the two main new features below.
refetch
, setVariables
, setOptions
, startPolling
and stopPolling
on smart queries[email protected]
graphql-tag
to 2.0.0
subscribe
option is deprecated. Use the $subscribe
option instead.watchLoading
was incorrectly named loadingChangeCb
in the code. It is now watchLoading
as it was stated in the doc.addGraphQLSubscriptions
from the package, since it is now exposed in subscriptions-transport-ws
.[email protected]
.subscribeToMore
feature on queries.