Search Docs
A hook that can detect the change of document visibility state.
useVisibilityChange((visible) => {});
Basic usage of useVisibilityChange hook.
() => void
number