useThrottle
This hook makes it easy to use lodash/throttle.
Example
const handleSubmitAnswer = useThrottle(() => {
setSubmitQuizAnswer();
mutate();
}, 200);
This hook makes it easy to use lodash/throttle.
const handleSubmitAnswer = useThrottle(() => {
setSubmitQuizAnswer();
mutate();
}, 200);