We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Intended outcome:
When I use mutation with refetchQueries, it should refetch given queries after execute even when page was rendered with SSR.
refetchQueries
Actual outcome:
RefetchQueries is ignored for queries executed during SSR when ssrForceFetchDelay is used, because subscriptions for these queries are not started.
ssrForceFetchDelay
How to reproduce the issue:
Here is demo:
https://github.com/Mordred/apollo-client-ssr-bug
When you insert new todo, it should be displayed immediatelly, but AllTodos query is not refetched.
AllTodos
Versions
All versions >3.4.0
The text was updated successfully, but these errors were encountered:
I have the same issue too, it is mentioned here #8644 (comment)
On my end I am using 3.4.2 which works for me, until the issue is fixed in the latest version.
Sorry, something went wrong.
This is likely fixed in 3.4.10.
Thanks, I just tested 3.4.10 with the demo and it works. Great job.
Glad to hear and sorry about the bug!
brainkim
No branches or pull requests
Intended outcome:
When I use mutation with
refetchQueries
, it should refetch given queries after execute even when page was rendered with SSR.Actual outcome:
RefetchQueries is ignored for queries executed during SSR when
ssrForceFetchDelay
is used, because subscriptions for these queries are not started.How to reproduce the issue:
Here is demo:
https://github.com/Mordred/apollo-client-ssr-bug
When you insert new todo, it should be displayed immediatelly, but
AllTodos
query is not refetched.Versions
All versions >3.4.0
The text was updated successfully, but these errors were encountered: