PWA Kit and Storefront Next rely on the Shopper Baskets API, but they differ in where basket state is managed and how it is hydrated in the app lifecycle. PWA Kit commonly uses hook-driven basket reads and mutations in components, while Storefront Next uses middleware, request context, and route loaders and actions to manage basket state with a server-first model.
Architecture
Aspect
PWA Kit
Storefront Next
Basket API baseline
Shopper Baskets V1 is available and remains the default for many existing imports
Basket flows are implemented with shopperBasketsV2 patterns in loaders/actions
Primary integration model
@salesforce/commerce-sdk-react hooks in components