Post
As rendering happens in a Client Component, you can just keep working with the data as it evolves in the Apollo Client's InMemoryCache over the lifetime of your application - the video shows a client-side refetch of that data.
0 reposts1 like
This will not only work in React Server Components, but soon you'll be able to apply the same streaming of GraphQL multipart responses to Remix, React Router and TanStack Start loaders. If you want to follow the PR and play with the demo: github.com/apollographq...
github.comimplement multipart streaming for `PreloadQuery` by phryneas · Pull Request #389 · apollographql/apollo-client-nextjsHere's the happy case (still without @defer):
https://apollo-git-6cd975-apollo-client-next-package-integration-tests.vercel.app/rsc/dynamic/PreloadQuery/queryRef-useReadQuery
Here we have a sim...