fast-auth-signer icon indicating copy to clipboard operation
fast-auth-signer copied to clipboard

Debounce Username and E-mail check API calls

Open Pessina opened this issue 6 months ago • 1 comments

Currently, the API calls to check if the username and email exist are triggered every time the user types a letter in the inputs.

This is not ideal as it consumes unnecessary resources. Therefore, the idea is to only trigger the checks after the user stops typing, thereby maintaining a good user experience and saving on resources.

Link to file: https://github.com/near/fast-auth-signer/blob/main/packages/near-fast-auth-signer/src/components/CreateAccount/CreateAccount.tsx

Pessina avatar Jan 04 '24 15:01 Pessina