StackOverflow Questions for Tag: react-apollo-hooks

RRR uzumaki
RRR uzumaki

Reputation: 1328

Invalid hook call. Hooks can only be called inside of the body of a function component when i call useQuery in useEffect

Score: 8

Views: 9452

Answers: 2

Read More
Marco Jr
Marco Jr

Reputation: 6806

how to use useMutation or useQuery as hook on React or React Native?

Score: 4

Views: 15050

Answers: 5

Read More
M. M
M. M

Reputation: 640

How to call useQuery hook conditionally?

Score: 39

Views: 48718

Answers: 2

Read More
valerii15298
valerii15298

Reputation: 879

What is the better way to handle conditional useQuery calls in apollo client react?

Score: 0

Views: 266

Answers: 1

Read More
engineerKev
engineerKev

Reputation: 335

Apollo MockedProvider Immediately Returns Null

Score: 2

Views: 148

Answers: 0

Read More
jengel
jengel

Reputation: 333

Skip argument is being ignored in useQuery hook from @apollo/react-hooks

Score: 6

Views: 12906

Answers: 2

Read More
PaRoxUs
PaRoxUs

Reputation: 119

How to best store data locally - useMutation vs writeQuery

Score: 0

Views: 86

Answers: 1

Read More
Jon_B
Jon_B

Reputation: 1079

how can I supply a a variable to a query that can be used to specify a field to sort a returned array by?

Score: 0

Views: 55

Answers: 1

Read More

How to write useMutation hook with onCompleted as a parameter?

Score: 0

Views: 391

Answers: 1

Read More
Lule
Lule

Reputation: 95

UseApolloClient query won't return fetchMore

Score: 2

Views: 2209

Answers: 2

Read More
github.arief
github.arief

Reputation: 153

cache.writeData is not a function -> inMemoryCache error

Score: 0

Views: 531

Answers: 1

Read More
jrkt
jrkt

Reputation: 2765

Apollo Hooks - useLazyQuery not using onCompleted option if passed on query

Score: 10

Views: 12459

Answers: 3

Read More
Pete
Pete

Reputation: 3451

How to delete cache record from Apollo GraphQL client with readQuery and writeQuery

Score: 0

Views: 1115

Answers: 1

Read More
Knut Marius
Knut Marius

Reputation: 1628

Apollo cache-and-network policy always bypasses the cache

Score: 1

Views: 222

Answers: 0

Read More
Alexey Kachalov
Alexey Kachalov

Reputation: 41

Apollo client useQuery makes additional call with the first page on every fetchMore call

Score: 3

Views: 262

Answers: 0

Read More
agustin37
agustin37

Reputation: 121

Does useQuery refetch invalidates cache?

Score: 1

Views: 1903

Answers: 1

Read More
David B.
David B.

Reputation: 838

Type 'DefaultClient<unknown>' is not assignable to type 'ApolloClient<object>'

Score: 0

Views: 1647

Answers: 2

Read More
Jakub Jankowski
Jakub Jankowski

Reputation: 1

Apollo Client can't fetch data, because "Failed to parse source map from invariant.ts"

Score: -1

Views: 414

Answers: 1

Read More
jhamm
jhamm

Reputation: 25062

Why is my query called over and over using useLazyQuery? Apollo Hooks

Score: 1

Views: 1910

Answers: 2

Read More
Lauraful
Lauraful

Reputation: 41

Unit testing Apollo useMutation onCompleted

Score: 3

Views: 7312

Answers: 1

Read More
PreviousPage 1Next