<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [PopularSearchesActions](./x-components.popularsearchesactions.md) &gt; [fetchAndSaveSuggestions](./x-components.popularsearchesactions.fetchandsavesuggestions.md)

## PopularSearchesActions.fetchAndSaveSuggestions() method

Fetches a new set of suggestions and stores them in the module state.

**Signature:**

```typescript
fetchAndSaveSuggestions(request: PopularSearchesRequest): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  request | PopularSearchesRequest |  |

**Returns:**

void

