Skip to content

RenderStoreOptions

Defined in: @storesynk/react/dist/render.d.ts:29

  • BaseRenderOptions

optional country?: string

Defined in: @storesynk/react/dist/render.d.ts:30


optional customer?: RestoredCustomerSession | null

Defined in: @storesynk/react/dist/render.d.ts:35

Per-request restored customer session (from getRequestCustomer()) - stamps ss-logged-in so auth-gated CSS is right on first paint. Null passes through safely (logged-out render).


optional fresh?: boolean

Defined in: @storesynk/react/dist/runtime.d.ts:27

Bypass the module cache and fetch live (per-request SSR freshness).

BaseRenderOptions.fresh


optional language?: string

Defined in: @storesynk/react/dist/render.d.ts:31


optional locale?: I18nState | null

Defined in: @storesynk/react/dist/render.d.ts:17

Per-request buyer market (from getRequestLocale()); null-safe.

RenderListOptions.locale


optional persistLocale?: "localStorage" | "cookie" | "none"

Defined in: @storesynk/react/dist/render.d.ts:38

Locale persistence for the client store (‘cookie’ recommended so the server can read the buyer’s market on later requests).


optional request?: string | Request | URL | null

Defined in: @storesynk/react/dist/render.d.ts:27

The incoming request (or its URL) - pass it and each helper derives its per-request inputs itself: locale from the buyer’s locale cookie (Request source only), renderCollection’s state and renderProduct’s selectedOptions from the URL’s search params, renderProductJsonLd’s canonical url from origin + pathname. Explicit options always win. Frameworks pass what they have - the Request (Remix loader arg, TanStack getWebRequest()) or the page URL. Null-safe.

RenderListOptions.request


optional scope?: RequestScope

Defined in: @storesynk/react/dist/runtime.d.ts:30

With fresh: dedupe fetches within one request (see createRequestScope). Without it, every fresh call fetches.

BaseRenderOptions.scope


optional trackEvents?: boolean

Defined in: @storesynk/react/dist/render.d.ts:39