Skip to content

configureStoresynk

const configureStoresynk: (config) => void

Defined in: @storesynk/react/dist/config.d.ts:43

Programmatic config - the one place to set store behavior. Put the call in a root storesynk.config.ts and import it (for its side effect) at the TOP of your root module (TanStack Start: the router/root route module; Remix: root.tsx), so it runs at module scope before any Storesynk code executes. domain/token default to the env credentials; everything else (locale, customer accounts, pixels, cart) is set here.

StoresynkUserConfig

void