Sitelet https://github.com/realworld-angular/realworld-angular/pull/79
Skip to content

feat: add debounce on email validation to prevent HTTP requests durin… - #79

Open
Lukecsharpwalker wants to merge 1 commit into
realworld-angular:mainfrom
Lukecsharpwalker:'blur'-option-to-debounce-rule-#26
Open

Lukecsharpwalker wants to merge 1 commit into
realworld-angular:mainfrom
Lukecsharpwalker:'blur'-option-to-debounce-rule-#26

Conversation

@Lukecsharpwalker

Copy link
Copy Markdown

This pull request enhances the email validation experience on the registration page by ensuring that HTTP validation is only triggered when the email input loses focus, rather than on every keystroke. It also adds a test to verify this behavior.

Email validation improvements:

  • Applied the debounce function to the email field with the 'blur' event, so HTTP validation is only triggered when the user leaves the email input, reducing unnecessary network requests and improving performance. [1] [2]

Testing enhancements:

  • Added a test to ensure that typing an email character by character does not trigger HTTP validation requests, confirming the debounce behavior.…g input 'blur' option to debounce rule 'blur' option to debounce rule #26

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Gerome Grignon Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant