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

Showcase Suspense/Transition bug with @defer #390

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

phryneas
Copy link
Member

@phryneas phryneas commented Nov 15, 2024

  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

Copy link

netlify bot commented Nov 15, 2024

Deploy Preview for apollo-client-nextjs-docmodel failed.

Name Link
🔨 Latest commit c4c4282
🔍 Latest deploy log https://app.netlify.com/sites/apollo-client-nextjs-docmodel/deploys/673742170d444d0008dd458b

Copy link

pkg-pr-new bot commented Nov 15, 2024

yarn add https://pkg.pr.new/apollographql/apollo-client-nextjs/@apollo/client-react-streaming@390.tgz
yarn add https://pkg.pr.new/apollographql/apollo-client-nextjs/@apollo/experimental-nextjs-app-support@390.tgz

commit: c4c4282

Copy link
Contributor

size-limit report 📦

Path Size
{ ApolloNextAppProvider, ApolloClient, InMemoryCache } from '@apollo/experimental-nextjs-app-support' (Browser ESM) 7.82 KB (+6.27% 🔺)
{ WrapApolloProvider, ApolloClient, InMemoryCache } from '@apollo/client-react-streaming' (Browser ESM) 2.27 KB (+25.98% 🔺)
{ buildManualDataTransport } from '@apollo/client-react-streaming/manual-transport' (Browser ESM) 3.51 KB (+17% 🔺)
@apollo/client-react-streaming (Browser ESM) 3.03 KB (+20.6% 🔺)
@apollo/client-react-streaming (SSR ESM) 7.88 KB (+7.44% 🔺)
@apollo/client-react-streaming (RSC ESM) 7.75 KB (+7.99% 🔺)
@apollo/client-react-streaming/manual-transport (Browser ESM) 3.72 KB (+16.11% 🔺)
@apollo/client-react-streaming/manual-transport (SSR ESM) 8.84 KB (+6.7% 🔺)
@apollo/experimental-nextjs-app-support (Browser ESM) 8.41 KB (+5.81% 🔺)
@apollo/experimental-nextjs-app-support (SSR ESM) 13.54 KB (+3.7% 🔺)
@apollo/experimental-nextjs-app-support (RSC ESM) 7.75 KB (+7.66% 🔺)
@apollo/experimental-nextjs-app-support/rsc (RSC ESM) 6.86 KB (+7.81% 🔺)

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

Successfully merging this pull request may close these issues.

1 participant