debounce handleSubmit not work #2463
Unanswered
linchen-myob
asked this question in
Q&A
Replies: 2 comments 4 replies
-
i would recommend you to the following
this is not an issue with this lib, it's just standard callback. have a read here: https://lodash.com/docs/4.17.15#debounce |
Beta Was this translation helpful? Give feedback.
2 replies
-
If you use debounce from lodash:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I click on submit button 10 times quickly, console.log will called 10 times
if I changed to
then first time I click on submit button, it will refresh whole page
Beta Was this translation helpful? Give feedback.
All reactions