Replies: 1 comment
-
I would move this to the queryFn:
or even move it to a different layer, like axios interceptors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to log query latency for service health check but I cannot find the good place to start.
I see
onSettled
from default query options but there's no callback likeonFired
to capture the start time.Should I create a wrapper hook for the queries and capture the start time there?
Beta Was this translation helpful? Give feedback.
All reactions