Ankit kaushik
Jan 25, 2023

For sure that could work if you are able to disable your button or show up some loader immediately after the first click. Not to mention if you are intending to do some asynchronous action on the click you'd want to employ some loader as well apart from just throttling or debouncing your user click.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Ankit kaushik
Ankit kaushik

Written by Ankit kaushik

Frontend Tech Lead, Angular Expert

No responses yet

Write a response