Skip to content
zenui/react-hooks

useStopwatch

A stopwatch with start, pause, reset and laps. Elapsed time comes from a monotonic clock, so the display can update at any rate and never loses time.

Level
Intermediate
Since
v2.1.0
import {useStopwatch} from '@zenuilabs/react-hooks';
Loading demo_

More in Time & Motion