Open jaredpalmer opened 7 years ago
If you don't have all the data on the client, this means that the matching is done on the server.
In this case, autosuggest-trie
will be used only on the server. Your react-autosuggest
setup won't have any mention of autosuggest-trie
.
Does this make sense?
In my opinion, this can be done by storing trie in your database and then calling autosuggest-trie on backend
can you show how you might use this with React Autosuggest (assuming I can't download all the data when the component mounts)?