Beignet API reference
    Preparing search index...

    Type Alias CreateReactQueryOptions

    Options accepted by createReactQuery(client, options?).

    type CreateReactQueryOptions = {
        keyHeaders?: readonly string[];
    }
    Index
    keyHeaders?: readonly string[]

    Header names to include in generated query keys.

    Headers are excluded from query keys by default because persisted caches would otherwise store credentials such as Authorization tokens. Opt in per adapter with the specific identity headers that change response data, such as a tenant header. Names are matched case-insensitively and stored lowercased in the key.