react-beforeunload
React component and hook which listens to the beforeunload window event.
React component and hook which listens to the beforeunload window event.
A JavaScript library to observe Page Lifecycle API states: https://github.com/WICG/page-lifecycle
Vue component that conditionaly prevents page leave/reload
A higher order component to make sure the react component passed as argument always unmounts properly, even if React does not have the time to call componentWillUnmount function.
Before unload react component
A unified API to reliably send data on beforeunload.
React component and hook which listens to `beforeunload` on the window when mounted.
> vuex持久化插件, Persist Vuex state by Web Storage
React Hook to prompt the user for confirmation before leaving the page.
Prevent page unloading from the user's action
Easy way to determine beforeunload callbacks
Prevent screen transition if any state changed.
A notification is displayed if the user wants to leave the page without saving the changes.
React Hook to prompt the user for confirmation before leaving the page. Useful when changes haven't been saved.
React component and hook which listens to the beforeunload window event.
**this is the package is inspired from react-beforeunload and it support for safari browser as well**
React component and hook which listens to the beforeunload window event.
React component and hook which listens to the beforeunload window event.
React component and hook which listens to the beforeunload window event.
React Hook to prevent leave window if state is different with setting value