TanStackT
TanStack4y ago
8 replies
popular-magenta

Why onSuccess isn't called when query is revalidated?

I've noticed that
useQuery
prop onSuccess isn't called when stale query is refetched and result data is the same. Is there a way to overcome this?
Was this page helpful?