Home > @vsf-enterprise/commercetools > useCategory
# useCategory() function
Composable for loading categories
Signature:
declare function useCategory(id: string): UseCategory<Category, any>;
# Parameters
Parameter | Type | Description |
---|---|---|
id | string |
Returns:
UseCategory<Category, any>