Skip to content

fix loading state for fetchMore with an unchanged result - #12937

Merged
phryneas merged 4 commits into
mainfrom
pr/fetchMore-unchanged-fix-loading
Sep 25, 2025
Merged

fix loading state for fetchMore with an unchanged result#12937
phryneas merged 4 commits into
mainfrom
pr/fetchMore-unchanged-fix-loading

Conversation

@phryneas

@phryneas phryneas commented Sep 24, 2025

Copy link
Copy Markdown
Member

Fixes #12936

@changeset-bot

changeset-bot Bot commented Sep 24, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d782ffb

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Sep 24, 2025

Copy link
Copy Markdown
npm i https://pkg.pr.new/apollographql/apollo-client/@apollo/client@12937

commit: d782ffb

@github-actions

github-actions Bot commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (CJS) 42.9 KB (+0.14% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) (CJS) 37.79 KB (-0.03% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" 32.66 KB (+0.02% 🔺)
import { ApolloClient, InMemoryCache, HttpLink } from "@apollo/client" (production) 26.88 KB (+0.28% 🔺)
import { ApolloProvider } from "@apollo/client/react" 5.91 KB (0%)
import { ApolloProvider } from "@apollo/client/react" (production) 994 B (0%)
import { useQuery } from "@apollo/client/react" 7.35 KB (0%)
import { useQuery } from "@apollo/client/react" (production) 2.38 KB (0%)
import { useLazyQuery } from "@apollo/client/react" 7.11 KB (0%)
import { useLazyQuery } from "@apollo/client/react" (production) 2.16 KB (0%)
import { useMutation } from "@apollo/client/react" 6.47 KB (0%)
import { useMutation } from "@apollo/client/react" (production) 1.52 KB (0%)
import { useSubscription } from "@apollo/client/react" 6.79 KB (0%)
import { useSubscription } from "@apollo/client/react" (production) 1.82 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" 8.55 KB (0%)
import { useSuspenseQuery } from "@apollo/client/react" (production) 3.63 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" 8.34 KB (0%)
import { useBackgroundQuery } from "@apollo/client/react" (production) 3.4 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" 8.29 KB (0%)
import { useLoadableQuery } from "@apollo/client/react" (production) 3.39 KB (0%)
import { useReadQuery } from "@apollo/client/react" 6.6 KB (0%)
import { useReadQuery } from "@apollo/client/react" (production) 1.65 KB (0%)
import { useFragment } from "@apollo/client/react" 6.66 KB (0%)
import { useFragment } from "@apollo/client/react" (production) 1.71 KB (0%)

@apollo-librarian

apollo-librarian Bot commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 5cc56d84144e57eb40097a28
Build Logs: View logs

@phryneas
phryneas marked this pull request as ready for review September 24, 2025 10:20
@github-actions github-actions Bot added the auto-cleanup 🤖 label Sep 24, 2025
@phryneas
phryneas merged commit 3b0d89b into main Sep 25, 2025
43 of 44 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 25, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loading always true after call fetchMore with empty results

2 participants