developit / developit/redaxios
In next.js 14 fetch can accept extra options. Is it possible to send with redaxios?
Open
- Dominant language
- JavaScript
- Stars
- 4.9k
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
Like this.
```ts
fetch('https://...', { next: { revalidate: 3600 } })
```
```ts
export default async function Page() {
const res = await fetch('https://...', { next: { tags: ['collection'] } })
const data = await res.json()
// ...
}
```
Contributor guide
Assessment
This issue has not been assessed yet.