Skip to content

StoresynkListProps

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:14

Server-rendered wrapper. The first element child is the item template (exactly the client engine’s contract); the server emits one filled clone per collection product, each with its own adoption payload, and marks the host ss-adopt so the client engine keeps the children instead of re-cloning. Cards hydrate themselves - zero collection refetch.

Falls back to plain client-side rendering when the collection is missing or the template has no . Children must be static host elements (see StoresynkProduct).

optional allProducts?: boolean

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:18

Render every product in the store instead of a collection (collection wins).


children: ReactNode

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:29


optional className?: string

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:28

Forwarded to the host (grid/layout classes live there).


optional collection?: string

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:16

Collection handle to render. Omit and set allProducts for the whole catalog.


optional fresh?: boolean

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:26

Bypass the persistent cache and fetch live (deduped per request) - for draft/preview reads that must reflect Shopify right now. The default cached path is webhook-invalidated (createStoresynkWebhookHandler), so most routes never need this.


optional limit?: number

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:19


optional locale?: I18nState | null

Defined in: @storesynk/next/dist/components/StoresynkList.d.ts:21

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