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 | 1156 | February 6, 2025 | |
Error in re-subscribe apollo server | 2 | 218 | April 18, 2024 | |
ReactJS Apollo Client Subscription stops working after 24 hours or when users change tabs | 3 | 465 | February 6, 2025 | |
Handling Network Change and connection events with useSubscription, Apollo Provider | 2 | 717 | February 6, 2025 | |
When should you use shouldResubscribe? | 2 | 835 | February 6, 2025 |