If you’d like to redirect users by clicking on the recent search queries, you can customize recent searches and turn them into links by modifying getItemUrl
and the item
template.
If you want to avoid reloading the full page when an item is selected, you can modify your search query state when a user selects an item with onSelect (as shown in this code sandbox).
For more information on this topic, please review the Customizing Recent Searches documentation here.