@nc-react-hooks/use-before-leave (npm): Execute a function when the mouse leaves the document.
Keywords: react|hooks|beforeLeave