-
### Clear and concise description of the problem
I want to catch all 401 errors inside the onFetchError hook and request to my `/refresh` endpoint to get new _access & refresh_ tokens and then re-fe…
-
### Description
Available Clients add Nuxt.js support
-
**Summary (generated)**:
Here is a brief summary in English:
The bug is that TypeScript is giving an error on the `transform` function in the `useFetch` setup in a Vue application. Despite searc…
-
### Describe the feature
It's really nice UX to auto-refresh data when the user re-focus the page.
```js
useFetch({
refreshOnFocus: true,
})
```
### Additional information
- [ ] Would you …
-
### Describe the feature
Since Nuxt 3.2, useFetch automatically passes request data to api call in an SSR context. The steps described in the docs aren't needed anymore: https://nuxt.com/docs/getting…
-
### Describe the feature
In Nuxt 2, the `fetch` hook has the `fetchDelay` option:
https://nuxtjs.org/docs/features/data-fetching#changing-fetch-behavior
After reviewing the documentation an…
-
### Environment
- Operating System: `Darwin`
- Node Version: `v20.15.0`
- Nuxt Version: `3.12.2`
- CLI Version: `3.12.0`
- Nitro Version: `-`
- Package Manager: `pnpm@9.4.0`
- …
-
### Describe the bug
Awaiting useFetch in a computedAsync function or an async watchEffect causes infinite spam of requests.
I've linked the reproduction below, due note that ones you start it, …
ghost updated
5 months ago
-
Hello, is there a way to type individual methods that useFetch() returns?
To me it seems logical to use the hook like this:
```
const { get, del, response, loading } = useFetch("/user/"+ id)
c…
-
### Describe the feature
I would like to propose the addition of a `pollEvery` option to the `useAsyncData` composable in Nuxt 3. This option would allow developers to set an interval (in millisecond…
onmax updated
1 month ago