Skip to content

Add fetch_policy=... to use_query #103

@Archmonger

Description

@Archmonger

Current Situation

There currently isn't a native way to cache or defer execution of a use_query call.

Proposed Actions

Mimic behavior of apollo's useQuery fetch policies within our use_query hook.

The only parameters that make sense to carry over are:

  • cache-first
  • cache-only
  • no-cache

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions