Appearance
Share
Reactive counter increases on every interval
Interval fired: 0
import { useInterval } from '@hungpvq/shared'; // count will increase every 200ms const counter = useInterval(200);
const { counter, reset, pause, resume } = useInterval(200, { controls: true });