What is the preferred way to replace onSuccess callback? - TanStack