Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Oct 17:10
· 126 commits to 2023-01 since this release
117ad0e

Patch Changes

  • 702df8f: Fixed issue with TypeScript not being able to find the typings for @shopify/hydrogen-react/storefront-api-types

  • b9c3940: Add <CartProvider/> and releated hooks & types.

    Component:

    • <CartProvider/>

    Hooks:

    • useCart()
    • useCartFetch()
    • useInstantCheckout()

    Types:

    • CartState
    • CartStatus
    • Cart
    • CartWithActions
    • CartAction

    Also updated flattenConnection() to better handle a null or undefined argument.