loading status not working in fetchMore
See original GitHub issueWhen i call fetchMore i can see
const {loading} = useQuery()
console.log(loading)
true - first call
false - fetchMore
false - fetchMore
false - fetchMore
false - fetchMore
BUG: Missing true state
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
react apollo - Why would data.loading not become true during ...
I was having the same problem. Turns out you have to opt in by setting notifyOnNetworkStatusChange to true in your options:.
Read more >Can't get infinite loading with fetchmore to work - Help
I am trying to make this work, but somewhere I am missing a key component. Within my client creation, I have added a...
Read more >Infinite Scroll With Apollo Client 3 - Trevor Blades
A fetchMore query is not currently in progress · We know there are still additional pages of data to load · We haven't...
Read more >Apollo pagination tutorial: using fetchMore() - Emma Goto
const { data, loading, error, refetch, fetchMore } = useQuery(QUERY, ... If we modify the fetchMoreResult , we can get around this problem....
Read more >GraphQL Pagination with Apollo Client in React - Educative.io
Not Specified. ... Since the button to fetch more repositories fits best in the ... So far, the loading boolean in the Query...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes! It’s work ‘notifyOnNetworkStatusChange: true’