`useAsyncData` - onSuccess callback?
Is there a "cleaner" way to perform an action when
useAsyncData
has succeeded other than watching the data
or status
refs for changes?1 Reply
Not really cleaner but I used the
transform
option to perform side effects when the request succeeds before returning the same data.