menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Posts
Members
Info

Accessing parent context Apollo Context

Hello Apollo fans! I've got quick I've been struggling with for about a week now. Let's say I have to React Context Providers: <ApolloProvider> and <AuthProvider>. I want all of the child contexts (<AuthProvider> in this case) to have assess to Apollo, like this: …

thumbsup
0
message-simple
1

Refetch cache problem

How to remove refetch cache data after call useQuery? I am using InMemoryCache typePolicies.

thumbsup
0
message-simple
0

useLazyQuery executed twice

Hello I am working on one React project, and for one of the components I am calling useLazyQuery in useEffect hook with an empty dependencies array. When the query gets executed i am returning the child component and inside the child component i have one useMutation hook which i…

thumbsup
0
message-simple
0

Mocking `useLazyQuery` doesn't work

I'm mocking all the queries for testing purposes, now I have a lazy query, it works with useQuery, but not with useLazyQuery. Did anyone manage to do it?

thumbsup
0
message-simple
0

useQuery returns nothing if loading time more than 10 seconds

Hi everyone, could someone help me with this issue? https://github.com/apollographql/apollo-client/issues/7772

thumbsup
0
message-simple
0

Possible caching issues on page refresh

We use graphql to run our queries in cojunction with ag-grid to store and display results, also using queryParams to keep track of.. well, query params in the url. I'm running into issues where if I refresh the page when I'm on page 3, for exaple, of my table. The page will…

thumbsup
0
message-simple
0

Hi, can anybody point me to a resource how to load data to a form along the…

thumbsup
0
message-simple
0

No re-render after cache update

I upgraded to apollo-client 3 and am using useQuery/useMutation. With a example setup of this And calling this mutation in the same view where I fetched the the other data. …

thumbsup
0
message-simple
5

Best Practices around Local State Updates

I have a few specific questions here, but I'm really just trying to reevaluate my usage of Apollo Client and figure out what true best practices are instead of just using the approach that has been tediously working for me in the past. The central scenario I'd like to figure out…

thumbsup
0
message-simple
0

Problem with upload file

Hi guys, I face with a difficult problem. I am using Apollo Client and @apollo/client. I use mutation function to upload a file. Obviously, the apollo server can get the request, but the file (type Upload!) always be empty object {}. Can anyone here help me solve it? The problem…

thumbsup
0
message-simple
0