Created
July 24, 2019 04:54
-
-
Save kartikag01/e5661f54ed80c6d05915f5d695e3df0c to your computer and use it in GitHub Desktop.
memo debounceOnChange
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const debounceOnChange = React.useCallback(debounce(onChange, 400), []); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment