react-beforeunload-fork (npm): React component and hook which listens to the beforeunload window event.
Keywords: beforeunload|component|event|hook|onbeforeunload|react|unload|window