@jacob-hooks/use-before-leave (npm): React Hook to execute a function when the mouse leaves the page. Useful to show a popup or for analytics.
Keywords: react|hooks|leave|beforeleave|unload|mouseleave|usebeforeleave|npm|react-custom-hook|react-hooks|yarn