This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Checkout/Cart: Consolidate all interactions in components with context #1942
Labels
block: cart
Issues related to the cart block.
block: checkout
Issues related to the checkout block.
category: extensibility
Work involving adding or updating extensibility. Useful to combine with other scopes impacted.
type: enhancement
The issue is a request for an enhancement.
type: refactor
The issue/PR is related to refactoring.
Note: This is a stretch goal and not intended for the initial release of the blocks.
Right now we use hooks directly in the various components, but it'd be good to have everything flow through the contexts (Checkout/CartProvider, PaymentMethodPaymentProvider, ShippingMethodDataProvider). This could mean using the relevant context hooks directly, or new hooks that expose just a slice of context (for descriptive application).
Rationale:
The text was updated successfully, but these errors were encountered: