hasCustomerSessionHint
hasCustomerSessionHint():
boolean
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/customer/cookie.d.ts:30
Synchronous browser-side hint that a customer session MAY be restorable: stored tokens in localStorage or our session cookie. Consumed by the elements layer to defer hydration decisions (leave server-rendered member state untouched) until the async session restore settles - instead of flashing the anonymous state first. Safe anywhere: returns false wherever localStorage/document don’t exist.
Returns
Section titled “Returns”boolean