Home > @vsf-enterprise/commercetools > useProduct
# useProduct() function
Composable for loading products
Signature:
declare function useProduct(id: string): UseProduct<ProductVariant[], ProductsSearchParams>;
# Parameters
Parameter | Type | Description |
---|---|---|
id | string |
Returns:
UseProduct<ProductVariant[], ProductsSearchParams>