react-apollo-hooks icon indicating copy to clipboard operation
react-apollo-hooks copied to clipboard

useSubscription - Duplicated subscription on page refresh

Open herbertpimentel opened this issue 6 years ago • 1 comments

We can see by the code that the useSubscription should unsubscribe to the graphql subscription by it self https://github.com/trojanowski/react-apollo-hooks/blob/master/src/useSubscription.ts#L96

But... on page refresh it seens to be Duplicated, and I am receiving responses from all the subscriptions (for each page refresh)

herbertpimentel avatar Nov 22 '19 15:11 herbertpimentel

haven the same issue, any news on this?

floriandotorg avatar Oct 28 '20 11:10 floriandotorg