I was asked one question in a recent interview that how we can avoid the multiple HTTP calls if a user is clicking on the login button after adding username and password.

I see some approaches which we can use to achieve this…

#angular

Best Way to Prevent multiple HTTP calls and button clicks in Angular
10.80 GEEK