Skip to content

Darth-Knoppix/example-react-page-visibility

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

A title card with the text: Page Visibility API with React

Example of Page Visibility API with React

What is this?

An example of the Page Visibility API being used in React with a custom hook.

How can I run it?

Once you've cloned the repo, make sure you have node and npm installed. Then just run the usual: npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Releases

No releases published

Packages

No packages published