T
TanStack2y ago
rising-crimson

What is the preferred way to replace onSuccess callback?

Hey I am doing the migration from v4 to v5 and was wondering what is the preferred way. I have read blog posts about and might have missed something so came here to ask. For example I have used onSuccess parameter for onSuccess callback handling push notifications.
1 Reply
optimistic-gold
optimistic-gold2y ago
there is no one size fits all replacement, "it depends". What are you doing in onSuccess ?

Did you find this page helpful?