|
Download react-use/docs/useHarmonicIntervalFn.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-use/docs/useHarmonicIntervalFn.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-use/docs/useHarmonicIntervalFn.md
-
curl -L -o useHarmonicIntervalFn.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-use/docs/useHarmonicIntervalFn.md
326 Bytes
| # `useHarmonicIntervalFn` | |
| Same as [`useInterval`](./useInterval.md) 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 | |
| ```js | |
| useHarmonicIntervalFn(fn, delay?: number) | |
| ``` | |