Last active
August 19, 2022 05:42
-
-
Save PhilipWee/34f8055b1b35c33c1ac90ade002f260c to your computer and use it in GitHub Desktop.
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 _changeText(newText:string) { | |
setText(newText) | |
} | |
const changeText = useDebounce(_changeText, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment