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

useReadQuery shows old cache contents in combination with useTransition and @defer #12135

Open
phryneas opened this issue Nov 15, 2024 · 0 comments

Comments

@phryneas
Copy link
Member

Issue Description

  1. visit https://apollo-client-nextjs-experimental-nextjs-app-support-2qcn8r5ns.vercel.app/rsc/dynamic/PreloadQuery/defer-queryRef-useReadQuery and wait for data to load in
  2. click "refetch" and wait for data to load in
  3. click "refetch" again and see that during loading, deferred data from 1. that has been overwritten by 2. shows up briefly

Link to Reproduction

apollographql/apollo-client-nextjs#390

Reproduction Steps

No response

@apollo/client version

3.11.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant