`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
Kérunix
Kérunix3mo ago
Not really cleaner but I used the transform option to perform side effects when the request succeeds before returning the same data.
Want results from more Discord servers?
Add your server