Asynchronous api validations, like username existence checks, should be debounced to lessen the amount of api requests being sent.
https://github.com/maevsi/maevsi/blob/16553cbae7b91eb9c205d94250b473e1750c8e6c/src/utils/validation.ts#L117
Btw, we could also switch to the debounce package as well, instead of pulling from lodash-es.
Asynchronous api validations, like username existence checks, should be debounced to lessen the amount of api requests being sent.
https://github.com/maevsi/maevsi/blob/16553cbae7b91eb9c205d94250b473e1750c8e6c/src/utils/validation.ts#L117
Btw, we could also switch to the
debouncepackage as well, instead of pulling fromlodash-es.