platform-guideline checked

Integrate Autocomplete with React InstantSearch - Add recent searches

Shows recent searches inside autocomplete, notes that a submitted query is needed before history appears, and demonstrates selecting a recent query to update search UI state.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Recently searched Choose recently searched when entries should be query strings the current user actually submitted, not possible suggestions or opened objects. Submitting a qualifying search writes or updates a recent-search entry for the current scope when history is on. Algolia shows recent searches as selectable autocomplete entries that update search UI state only after prior submitted queries exist.

Evidence Role

This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: Algolia. Last checked: .