useFavoritedProducts
@shopify/shop-minis-platform-sdk / hooks/useFavoritedProducts
useFavoritedProducts()
useFavoritedProducts(
__namedParameters
):object
Parameters
Parameter | Type |
---|---|
__namedParameters | object |
__namedParameters.first | number |
__namedParameters.includeVariants ? | boolean |
Returns
object
hasNextPage
hasNextPage:
boolean
loading
loading:
boolean
loadMore()
loadMore: () =>
Promise
\<void
>
Returns
Promise
\<void
>
products
products:
undefined
|CurrentUserFavoritedProductsNodes
[] =data.currentUser.favoritedProducts.nodes