Skip to content

perf(form): debounce api validations #1672

@dargmuesli

Description

@dargmuesli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    technicalNot a feature nor a bug

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions