useThrottledEffect

A React Hook like React.useEffect, but throttled.

Demo

Source
Count:
0
wait:
1000

Usage

See API for more details.

Source

Click links below to view source on GitHub.

API

useThrottledEffect(calback, deps, options)

Callback

Same as React.useEffect.

Deps

Same as React.useEffect.

Options

See Options of useThrottledFn.