Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 326 Bytes

useHarmonicIntervalFn.md

File metadata and controls

14 lines (9 loc) · 326 Bytes

useHarmonicIntervalFn

Same as useInterval hook, but triggers all effects with the same delay at the same time.

For example, this allows you to create ticking clocks on the page which re-render second counter all at the same time.

Reference

useHarmonicIntervalFn(fn, delay?: number)