Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

@reactor/client — reactorclientoptions

@reactor/client


@reactor/client / ReactorClientOptions

Defined in: index.ts:51

Options for creating a Reactor client.

optional analytics?: Omit<AnalyticsConfig, "projectKey" | "endpoint"> & object

Defined in: index.ts:63

Analytics-specific options

optional enabled?: boolean


optional auth?: any

Defined in: index.ts:61

Auth-specific options


optional fetch?: (input, init?) => Promise<Response>

Defined in: index.ts:57

Custom fetch implementation

MDN Reference

RequestInfo | URL

RequestInit

Promise<Response>


optional headers?: Record<string, string>

Defined in: index.ts:59

Global headers for all requests


optional key?: string

Defined in: index.ts:53

Project key (anon key) - safe for browser bundles


optional org?: string

Defined in: index.ts:55

Default organization context


optional storage?: any

Defined in: index.ts:65

Custom storage adapter for session persistence