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
Intended outcome:
I am using apollo-client : 3.4.10 and when user perform some action say clicking on button I want to start polling and stop it after certain period of time, I expect it to work as expected
Actual outcome:
Polling not getting triggered when I manually perform using startPolling
How to reproduce the issue:
I have added codesnabox which replicate the behaviour in our application for checking it
@UmangThapliyal I think this is as designed. When the results are the same, as would be the case with the artsy API you’re using, the component and onCompleted will not be called. You can confirm that polling is actually occurring in the network tab.
I do think it’s mildly confusing that nothing is logged when you poll and get the same results.
@UmangThapliyal I think this is as designed. When the results are the same, as would be the case with the artsy API you’re using, the component and onCompleted will not be called. You can confirm that polling is actually occurring in the network tab.
I do think it’s mildly confusing that nothing is logged when you poll and get the same results.
@UmangThapliyal I think this is as designed. When the results are the same, as would be the case with the artsy API you’re using, the component and onCompleted will not be called. You can confirm that polling is actually occurring in the network tab.
I do think it’s mildly confusing that nothing is logged when you poll and get the same results.
I am using 3.3.x and I have logic in onCompleted, any workaround to trigger it in 3.4.x?
Intended outcome:
I am using
apollo-client : 3.4.10
and when user perform some action say clicking on button I want to start polling and stop it after certain period of time, I expect it to work as expectedActual outcome:
Polling not getting triggered when I manually perform using startPolling
How to reproduce the issue:
I have added codesnabox which replicate the behaviour in our application for checking it
https://codesandbox.io/s/apollo-react-hooks-usequery-bug-forked-edr6e?file=/src/index.js
Versions
3.4.10
The text was updated successfully, but these errors were encountered: