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 | |
---|---|---|---|---|
ReactJS Apollo Client Subscription stops working after 24 hours or when users change tabs | 3 | 454 | February 6, 2025 | |
Handling Network Change and connection events with useSubscription, Apollo Provider | 2 | 697 | February 6, 2025 | |
Error in re-subscribe apollo server | 2 | 213 | April 18, 2024 | |
Apollo Client useSubscription not reading correct link | 8 | 1145 | February 6, 2025 | |
Problem with subscription and mutation | 0 | 352 | January 27, 2023 |