Interface HonuaProviderProps

Props for HonuaProvider.

interface HonuaProviderProps {
    cache?: HonuaQueryCache;
    children?: ReactNode;
    client: HonuaClient;
}

Properties

Optional externally-owned query cache. Supply one to share cached results across providers or to pre-seed a cache in tests; omit to let the provider own a fresh, session-scoped cache.

children?: ReactNode
client: HonuaClient

The client every descendant hook/component queries through.