Can you use useOne and have it call a callback when the data changes
I saw onLiveUpdate but i don't have a live provider so I'm not sure if that's going to do what I want.
Basically I want to have a function called when the data from the hook is available so I can update a separate store with information derrived from the value. I saw "queryOptions.onSuccess" which could do what I want but it seems to be deprecated.
I'm trying to avoid 'useEffect'.
Basically I want to have a function called when the data from the hook is available so I can update a separate store with information derrived from the value. I saw "queryOptions.onSuccess" which could do what I want but it seems to be deprecated.
I'm trying to avoid 'useEffect'.
