Bhish

Results 8 comments of Bhish

why did I decide to upgrade to the latest release 🤦🏽

> why did I decide to upgrade to the latest release 🤦🏽 I can confirm reverting to my old version works (also 1.65.0 but on MacOS BigSur 11.4)

> > > why did I decide to upgrade to the latest release 🤦🏽 > > > > > > I can confirm reverting to my old version works (also...

Is this the recommended way of providing global notifications for the notif-system in a non-flux app? I know that the context system in React is an experimental API and there...

This could be the culprit? https://github.com/apollographql/apollo-client/blob/6bc9fdcfc064bd60533794f0ef5aeed45f7ad537/src/react/data/QueryData.ts#L433 It seems onCompleted only runs when data has changed, so if you are polling and no data changes occur then it will not fire....

A workaround for our case was to add `fetchPolicy: 'no-cache',` to the query options. Thus: ``` const { data, stopPolling } = useQuery(QUERY, { variables: {...}, fetchPolicy: 'network-only', pollInterval: 1000,...

> This could be the culprit? > > https://github.com/apollographql/apollo-client/blob/6bc9fdcfc064bd60533794f0ef5aeed45f7ad537/src/react/data/QueryData.ts#L433 > > It seems onCompleted only runs when data has changed, so if you are polling and no data changes occur...