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:
Updating the value of a reactive variable should broadcast the local state change to the cache and update any dependent queries
Actual outcome:
Above behavior only occurs when {pollInterval: XXX} is passed to useQuery, and only after the first poll has been completed
{pollInterval: XXX}
useQuery
How to reproduce the issue:
I have a codesandbox with the issue: https://codesandbox.io/s/apollo-reactivevars-only-work-with-polling-enabled-kk8b3. List items can be "selected" via click with the selected ids stored in a reactive variable.
In the example I've set pollInterval to 5000, the following things can be observed:
pollInterval
5000
Versions
3.3.7, see codesandbox
The text was updated successfully, but these errors were encountered:
Looks like this was also reported in #7593.
Sorry, something went wrong.
Should be fixed with #7657.
jcreighton
No branches or pull requests
Intended outcome:
Updating the value of a reactive variable should broadcast the local state change to the cache and update any dependent queries
Actual outcome:
Above behavior only occurs when
{pollInterval: XXX}
is passed touseQuery
, and only after the first poll has been completedHow to reproduce the issue:
I have a codesandbox with the issue: https://codesandbox.io/s/apollo-reactivevars-only-work-with-polling-enabled-kk8b3. List items can be "selected" via click with the selected ids stored in a reactive variable.
In the example I've set
pollInterval
to5000
, the following things can be observed:Versions
3.3.7, see codesandbox
The text was updated successfully, but these errors were encountered: