ethereum / ens-registrar-dapp

Registrar DApp for the Ethereum Name Service
MIT License
94 stars 56 forks source link

Debounce search box auto-query #141

Open danfinlay opened 7 years ago

danfinlay commented 7 years ago

Currently, when typing a domain to query via ENS, each key stroke triggers a series of network requests, to look up that name on the ENS.

A popular way to improve performance for these types of scenarios is to "debounce" the requests, or wait a brief period after the last input change before issuing a query, to reduce undesired network requests while users are still typing.

Considering there are some performance/memory issues at the moment, I think this would be an easy way to improve search performance considerably.