Skip to content

useCart

useCart(): UseCart

The cart, for a section a host draws itself: the snapshot (cart, count, pending, fault) and the actions. Every action does nothing when the cart is off.

UseCart