Skip to content
zenui/react-hooks

useThrottle

Return a copy of a fast-changing value that updates at most once per interval. Use it for scroll positions, pointer coordinates and other values that change many times a second.

Level
Intermediate
Since
v1.0.0
import {useThrottle} from '@zenuilabs/react-hooks';
Loading demo_

More in Performance