useDebounce
This hook makes it easy to use lodash/debounce
.
Example
// This function will debounce at 500ms.
const handleClick = useDebounce(() => {
getV2Logger().log(schemaId, parameter);
}, 500);
This hook makes it easy to use lodash/debounce
.
// This function will debounce at 500ms.
const handleClick = useDebounce(() => {
getV2Logger().log(schemaId, parameter);
}, 500);