Skip to content

Instantly share code, notes, and snippets.

@alieslamifard
Created September 6, 2019 22:27
Show Gist options
  • Save alieslamifard/63f1f49ef7d9dd6f77484c8b20e8e94e to your computer and use it in GitHub Desktop.
Save alieslamifard/63f1f49ef7d9dd6f77484c8b20e8e94e to your computer and use it in GitHub Desktop.
const isVisible = useVisibility(); // true/false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment