react-beforeunload
React component and hook which listens to the beforeunload window event.
@garage-panda/use-before-unload
[![npm version](https://badge.fury.io/js/%40garage-panda%2Fuse-before-unload.svg)](https://badge.fury.io/js/%40garage-panda%2Fuse-before-unload)
react-before-leave
React component and hook which listens to `beforeunload` on the window when mounted.