A hook that provides a performant search to filter a list of tokens by a searchTerm Internally it uses React's useDeferredValue
useDeferredValue
options object
Optional
array of dependencies that trigger recalculation of the search
Object containing searchResult, searchTerm, and setSearchTerm
A hook that provides a performant search to filter a list of tokens by a searchTerm Internally it uses React's
useDeferredValue