Removing `onSuccess` from this query
Hi, I have a task endpoint that requires short polling in order to get the response. I recall that
onSuccess is a bit of an antipattern with useQuery. How could I remove it in this instance (using v3 RQ)? Thanks
2 Replies
magic-beige•3y ago
or
metropolitan-bronze•3y ago
Derived state…