# useFacet
useFacet composable can be used to:
- fetch products
- fetch categories
- filter products - based on PrestaShop faceted search module
# API
searchFetches the category data and saves results from the API in the result property.resultReactive data object containing the response from the backend.loadingReactive object containing information about the loading state of search.errorReactive object containing the error message, if search failed for any reason.