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 | 7 | 1222 | April 5, 2023 | |
| Error in re-subscribe apollo server | 2 | 249 | April 18, 2024 | |
| ReactJS Apollo Client Subscription stops working after 24 hours or when users change tabs | 2 | 500 | July 27, 2023 | |
| Handling Network Change and connection events with useSubscription, Apollo Provider | 1 | 762 | August 24, 2023 | |
| When should you use shouldResubscribe? | 1 | 922 | October 6, 2023 |