Skip to content

Idle FAQ

What triggers idle state?

Configured thresholds and detected user inactivity.

Example

ts
const lifecycle = createBrowserLifecycle({
  idle: { enabled: true, thresholdMs: 60_000 },
});

Playground

Idle Playground

JOC is a JayOnCode monorepo of @jayoncode/* packages. Docs sync from source via TypeDoc and sync scripts.