NuxtN
Nuxt6mo ago
10 replies
Mads

Request cancellation - dedupe on post requests

I have this useFetch:
js 
    const { data, execute } = await useFetch('/api/cars/filter', {
      method: 'POST',
      ignoreResponseError: true,
      body,
      immediate: false,
      server: false,
      dedupe: 'cancel',
    })


But i don't see previous request getting cancelled. What am I doing wrong?
Was this page helpful?