React hook for backend-less cart ownership. Wraps CartSessionClient:
creates the Throttle cart lazily on the first addItem (so empty carts
aren't created on every page load), persists the session id to localStorage,
and resumes it on the next visit. Mutations update reactive cart state.
React hook for backend-less cart ownership. Wraps CartSessionClient: creates the Throttle cart lazily on the first
addItem(so empty carts aren't created on every page load), persists the session id to localStorage, and resumes it on the next visit. Mutations update reactivecartstate.