Skip to content

In next.js 14 fetch can accept extra options. Is it possible to send with redaxios? #100

@shahreazebd

Description

@shahreazebd

Like this.

fetch('https://...', { next: { revalidate: 3600 } })
export default async function Page() {
  const res = await fetch('https://...', { next: { tags: ['collection'] } })
  const data = await res.json()
  // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions