question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fetchMore after being offline

See original GitHub issue

This issue ticket branched off from #1413

Intended outcome: fetchMore failing for follow up requests after encountering network errors

Actual outcome: fetchMore should work after being offline

How to reproduce the issue: https://github.com/sreucherand/react-apollo-error-template

  1. Turn off network
  2. Try to Fetch more. See the error
  3. Turn on network
  4. Try to Fetch more again

Version

  • apollo-client@1.9.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
alewiahmedcommented, Dec 27, 2017

Any news on this.

3reactions
sondremarecommented, Dec 11, 2017

@jbaxleyiii I tested this on version 2.1.0 of apollo. Breaks aswell. Crashes when attempting to fetch more when offline, and then also crashes on all subsequent calls

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hooks - Apollo GraphQL Docs
An array (or a function that returns an array) that specifies which queries you want to refetch after the mutation occurs. Each array...
Read more >
Next.js & Apollo GraphQL: Using fetchMore() - SlideShare
small explainer on Apollo GraphQL's fetchMore used in Next.js with React. ... Download to read offline ... How a Smart Leader Sets SMART...
Read more >
React Query, Solid Query, Svelte Query, Vue Query - TanStack
TanStack Query is configurable down to each observer instance of a query with ... Render-as-you-fetch Prefetching Variable-length Parallel Queries Offline ...
Read more >
retrieveMultipleRecords (Client API reference) - Microsoft Learn
Unsupported Attribute Types for OData query options in Mobile Offline. The following Column types are not supported when doing a Xrm.WebApi.
Read more >
FetchMore : Request executed twice every time - Stack Overflow
Adding nextFetchPolicy: "cache-first". to the useQuery hook prevents making a server call when the component re renders.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found