DocumentationHooksusePageVisibilityusePageVisibility Check if the current tab is visible or hidden to the user. DemoCodeYou left the page 0 times. Type Definitions const usePageVisibility: () => boolean;useOrientationusePointers