Hi. What are some ways to get the status of the current subscription, whether it is active or not without extending the ApolloLink? For example, if the server becomes unavailable then I can’t get information about this. Loading variable changes only once, at startup from true to false. The second question is how to force the subscription to re-subscribe if the server sent an error? shouldResibscribe doesn’t work, what are the workarounds? Thanks for answers.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Apollo Client useSubscription not reading correct link | 8 | 1165 | February 6, 2025 | |
| ReactJS Apollo Client Subscription stops working after 24 hours or when users change tabs | 3 | 467 | February 6, 2025 | |
| Handling Network Change and connection events with useSubscription, Apollo Provider | 2 | 730 | February 6, 2025 | |
| How to UnSubscribe GraphQL Apollo Subscription in Kotlin | 1 | 760 | January 20, 2023 | |
| When should you use shouldResubscribe? | 2 | 851 | February 6, 2025 |