mirror of
https://github.com/vercel/commerce.git
synced 2025-07-08 22:01:22 +00:00
- Move useOptimistic from useCart hook to CartProvider - Create single shared optimistic cart instance - Eliminate lag between cart operations and UI updates - Ensure all components see consistent cart state