Skip to content

useUserActive

Hook | Source Code


useUserActive(): boolean


Hook that gets updated whenever the user’s activity state changes from being inactive to active or vice versa. To configure options for user inactivity, see UserActivityService

Whether the user is currently active.