-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
702df8f
commit 117ad0e
Showing
4 changed files
with
29 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# @shopify/hydrogen-react | ||
|
||
## 2022.7.1 | ||
|
||
### 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters