`useIdle` is a React hook that detects user inactivity using a customizable timeout. It supports event tracking (e.g., mouse, keyboard) and the Idle Detection API if available, with optional callbacks for idle and active states.
-
Updated
Sep 26, 2024 - TypeScript