@practical-react-hooks/use-before-leave
React Hook to execute a function when the mouse leaves the page. Useful to show a popup or for analytics.
React Hook to execute a function when the mouse leaves the page. Useful to show a popup or for analytics.