RenderStoreOptions
Defined in: @storesynk/react/dist/render.d.ts:29
Extends
Section titled “Extends”BaseRenderOptions
Properties
Section titled “Properties”country?
Section titled “country?”
optionalcountry?:string
Defined in: @storesynk/react/dist/render.d.ts:30
customer?
Section titled “customer?”
optionalcustomer?: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).
fresh?
Section titled “fresh?”
optionalfresh?:boolean
Defined in: @storesynk/react/dist/runtime.d.ts:27
Bypass the module cache and fetch live (per-request SSR freshness).
Inherited from
Section titled “Inherited from”BaseRenderOptions.fresh
language?
Section titled “language?”
optionallanguage?:string
Defined in: @storesynk/react/dist/render.d.ts:31
locale?
Section titled “locale?”
optionallocale?:I18nState|null
Defined in: @storesynk/react/dist/render.d.ts:17
Per-request buyer market (from getRequestLocale()); null-safe.
Inherited from
Section titled “Inherited from”persistLocale?
Section titled “persistLocale?”
optionalpersistLocale?:"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).
request?
Section titled “request?”
optionalrequest?: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.
Inherited from
Section titled “Inherited from”scope?
Section titled “scope?”
optionalscope?: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.
Inherited from
Section titled “Inherited from”BaseRenderOptions.scope
trackEvents?
Section titled “trackEvents?”
optionaltrackEvents?:boolean
Defined in: @storesynk/react/dist/render.d.ts:39