corejavascript / corejavascript/typeahead.js
Caching Trie data structure
Open
- Dominant language
- JavaScript
- Stars
- 968
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I faced an issue with caching internal search index structure inside `localStorage`. The problem is, when you change tokenized fields, nothing really happens — old structure is used and you need to manually clear `localStorage`.
So, it's not too critical, but I spent several hours to understand what's happening.
Perhaps it would be better to put the trie structure in `sessionStorage` or somehow mark this thing in the documentation.
Contributor guide
Assessment
This issue has not been assessed yet.