Recent Searches Widget

I wanted to ask if there is an option to implement the recent searches widget in autocomplete.js file ?

new RecentSearchesWidget({
container: “#recent-searches”,
querySuggestionsIndex: “query-suggestions”,
placeholder: “Search with Query Suggestions”,
maxSavedSearchesPerQuery: 5,
noResultsRenderer: (query, response) =>
<li class="no-results">No matching suggestion for <strong>${query}</strong></li>

The example you provide relates to Instantsearch as documented here:

For autocomplete.js, I found this plugin ; note that it is an ALPHA version, unstable and should probably not be used yet.

The documentation of autocomplete.js also mentions this: that seems to achieve something similar (suggesting popular queries); hopefully this will be helpful.