Skip to content

StoresynkStaticProps

Defined in: @storesynk/next/dist/components/StoresynkStatic.d.ts:12

Escape hatch for Storesynk markup that must live where React re-renders - e.g. the cart drawer (whose engine removes its template child and inserts clones) inside a client component or a persistent layout. Children are stringified and injected via dangerouslySetInnerHTML, so React treats the subtree as an opaque string and engine mutations can never conflict with a reconcile. The wrapper div is layout-transparent (display: contents).

Children must be static host elements (see StoresynkProduct).

children: ReactNode

Defined in: @storesynk/next/dist/components/StoresynkStatic.d.ts:13


optional className?: string

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