T
TanStack2y ago
adverse-sapphire

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
sunny-green
sunny-green2y ago
there is no one size fits all replacement, "it depends". What are you doing in onSuccess ?

Did you find this page helpful?