Skip to content

renderCollection

const renderCollection: (template, options?) => Promise<PreparedCollection>

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

The filterable, server-driven listing’s prepared render. The template is the region exactly as the client engine expects it (filter controls + a product-list whose first child is the card template); the server fills the requested view - grid clones with per-card payloads, facet values with active states, chips, result count - embeds the listing payload, and the component marks the host ss-adopt so the client engine adopts the state instead of refetching. Falls back to plain client-side rendering when the fetch fails or the region has no usable product-list template.

ReactNode | string

RenderCollectionOptions

Promise<PreparedCollection>