Skip to content

StoresynkStoreProps

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:14

The root. With prepared (from renderStore() in your loader) it renders the configured credentials and embeds the shop payload, so the client runtime seeds shop state synchronously - money displayers format on their very first update. Without prepared it runs client-only: pass domain/token and the runtime fetches the shop itself.

Children are ordinary React content (the store wraps whole pages); only the // slots are server-transformed.

optional children?: any

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


optional className?: string

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:28

Forwarded to the host (layout classes live there).


optional country?: string

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:20


optional domain?: string

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:18

Client-only fallback credentials/settings - used when prepared is absent.


optional language?: string

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:21


optional loadRuntime?: boolean

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:26

Render the elements-runtime loader (default true). Set false if you place yourself.


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

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:22


optional prepared?: PreparedStore | null

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:16

Server-prepared render, from renderStore() in your loader.


optional token?: string

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:19


optional trackEvents?: boolean

Defined in: @storesynk/react/dist/components/StoresynkStore.d.ts:23