1.0.3 • Published 1 year ago

use-app-visibility v1.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

useAppVisibility

A custom hook to get the visibility state of your app

To install the dependency

npm i use-app-visibility

How to use

  1. Import the 'useAppVisible' hook which is named exported from "use-app-visibility"
import {useAppVisibile} from "use-app-visibility";
  1. Create an instance
const isVisible = useAppVisibile();

Example implementation

Code Sandbox

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago