Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObervableQuery.refetch: don't refetch with cache-and-network, swich to network-only instead #12369

Merged
merged 5 commits into from
Feb 14, 2025

Conversation

phryneas
Copy link
Member

This would fix the behaviour reported in #12366

…ch to `network-only` instead
Copy link

changeset-bot bot commented Feb 12, 2025

🦋 Changeset detected

Latest commit: 5458cf2

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

This PR includes changesets to release 1 package
Name Type
@apollo/client Patch

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

@svc-apollo-docs
Copy link

svc-apollo-docs commented Feb 12, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 5fc4cf8bb56f3cee7d840337

Copy link
Contributor

github-actions bot commented Feb 12, 2025

size-limit report 📦

Path Size
dist/apollo-client.min.cjs 41.24 KB (-0.01% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" 50.69 KB (-0.02% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/main.cjs" (production) 47.76 KB (-0.02% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" 36.24 KB (-0.02% 🔽)
import { ApolloClient, InMemoryCache, HttpLink } from "dist/index.js" (production) 33.63 KB (-0.02% 🔽)
import { ApolloProvider } from "dist/react/index.js" 1.26 KB (0%)
import { ApolloProvider } from "dist/react/index.js" (production) 1.24 KB (0%)
import { useQuery } from "dist/react/index.js" 5.21 KB (0%)
import { useQuery } from "dist/react/index.js" (production) 4.29 KB (0%)
import { useLazyQuery } from "dist/react/index.js" 5.7 KB (0%)
import { useLazyQuery } from "dist/react/index.js" (production) 4.78 KB (0%)
import { useMutation } from "dist/react/index.js" 3.62 KB (0%)
import { useMutation } from "dist/react/index.js" (production) 2.84 KB (0%)
import { useSubscription } from "dist/react/index.js" 4.42 KB (0%)
import { useSubscription } from "dist/react/index.js" (production) 3.48 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" 5.88 KB (0%)
import { useSuspenseQuery } from "dist/react/index.js" (production) 4.54 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" 5.37 KB (0%)
import { useBackgroundQuery } from "dist/react/index.js" (production) 4.03 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" 5.45 KB (0%)
import { useLoadableQuery } from "dist/react/index.js" (production) 4.11 KB (0%)
import { useReadQuery } from "dist/react/index.js" 3.42 KB (0%)
import { useReadQuery } from "dist/react/index.js" (production) 3.36 KB (0%)
import { useFragment } from "dist/react/index.js" 2.36 KB (0%)
import { useFragment } from "dist/react/index.js" (production) 2.31 KB (0%)

Copy link

pkg-pr-new bot commented Feb 12, 2025

npm i https://pkg.pr.new/@apollo/client@12369

commit: 3862abf

Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for apollo-client-docs ready!

Name Link
🔨 Latest commit 5458cf2
🔍 Latest deploy log https://app.netlify.com/sites/apollo-client-docs/deploys/67af1185b51ee700088761b2
😎 Deploy Preview https://deploy-preview-12369--apollo-client-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@phryneas phryneas requested a review from jerelmiller February 13, 2025 08:46
@github-actions github-actions bot added the auto-cleanup 🤖 label Feb 13, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
@phryneas phryneas changed the base branch from release-3.13 to main February 14, 2025 09:46
phryneas and others added 2 commits February 14, 2025 10:47

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@phryneas phryneas merged commit bdfc5b2 into main Feb 14, 2025
36 checks passed
@phryneas phryneas deleted the pr/refetch-no-cache-and-network branch February 14, 2025 09:56
This was referenced Feb 14, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 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.

None yet

3 participants