You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see what triggers a fetch (stale cache, onFocus, refreshInterval, etc) when a request is done. Is there any way to do log this? I have 2 use cases:
debugging: I see a fetch happen when it shouldn't, and I'd like to see what triggered it.
for monitoring purposes: I have some data that is updated via websockets, but when no connection can be made via websocket I do a fallback to polling the server by setting refreshInterval. I'd like to send this along as a query param so I can track the split of push vs poll data over time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to see what triggers a fetch (stale cache, onFocus, refreshInterval, etc) when a request is done. Is there any way to do log this? I have 2 use cases:
refreshInterval
. I'd like to send this along as a query param so I can track the split of push vs poll data over time.Beta Was this translation helpful? Give feedback.
All reactions