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

Fix issue with useQuery returning loading: true state during server-side rendering with skip: true #9679

Merged

Conversation

nathanmarks
Copy link
Contributor

Fix issue with useQuery returning loading state in SSR with skip

Fixes #9096

@apollo-cla
Copy link

@nathanmarks: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@benjamn benjamn force-pushed the nathanmarks/ssr-query-loading-bug branch from 413dff4 to ffa7a2e Compare May 5, 2022 21:29
Copy link
Member

@benjamn benjamn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for diagnosing and testing and fixing this issue @nathanmarks!

@benjamn benjamn changed the title Fix issue with useQuery returning loading state in SSR with skip Fix issue with useQuery returning loading: true state during server-side rendering with skip: true May 5, 2022
@benjamn benjamn merged commit 95c8a1a into apollographql:main May 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

skip: true + ssr: false causes client/server mismatch
3 participants