sickdyd / react-search-autocomplete

A search box that filters the provided array of objects
https://sickdyd.github.io/react-search-autocomplete
MIT License
222 stars 85 forks source link

Fetching items when onFocus? #79

Closed helloivanco closed 2 years ago

helloivanco commented 2 years ago

Due to a large amount of items, I'm fetching them when onFocus is called. Is this advisable?

Thanks!

sickdyd commented 2 years ago

@hellopaidco I can't think of a reason why this could be an issue. If it works for you, why not!