Skip to content

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

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()
  // ...
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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