Manually cancel useFetch
Hello all π
Is it possible to cancel a useFetch, if for exemple the user leaves the page before the call is finished ?
I saw how to send a signal with $fetch but nothing with useFetch.
Thanks ^^
2 Replies
I think you'll have to use
useAsyncData
with $fetch
and pass the signal to $fetch
aw :/, thanks