useCartDispatch
●cart · /react·functionthrows CartProviderError
Read the low-level dispatch function that bypasses the capability-typed
action surface — useful for custom mutations carried via CartMutation.
Signature
function useCartDispatch(): (m: CartMutation) => Promise<CartActionResult>;Returns
A function that accepts a and resolves to a .
Throws
CartProviderError
when called outside
<CartProvider>.Related
CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions BuyerIdentityActions CartActions CartAttributeActions