You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, PreloadQuery will make a network request on the server and then replay that in your client components, as if that request would have happened in your SSR pass or in the browser.
I am aware that the useSuspenseQuery performed by the client component only goes to take a cache and does not work with the server, is that correct?
useSuspenseQuery can only be used in the client components and as such only have a single SSR pass on first page load, unlike RSC, which will run on the server on each navigation.
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.
Hello!
I have a question about the behavior of PreloadQuery.
I read here that PreloadQuery uses RSC to fetch data to the API server and passes the cache to the client component.
https://github.com/apollographql/apollo-client-nextjs?tab=readme-ov-file#preloading-data-in-rsc-for-usage-in-client-components
I am aware that the useSuspenseQuery performed by the client component only goes to take a cache and does not work with the server, is that correct?
The text was updated successfully, but these errors were encountered: