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
React Hook to prompt the user for confirmation before leaving the page. Useful when changes haven't been saved.
Prevent screen transition if any state changed.
Easy way to determine beforeunload callbacks
A notification is displayed if the user wants to leave the page without saving the changes.
React component and hook which listens to the beforeunload window event.
A custom React Hook that executes a callback when a user is exiting your app- in both desktop and mobile browsers.
[![npm version](https://badge.fury.io/js/%40garage-panda%2Fuse-before-unload.svg)](https://badge.fury.io/js/%40garage-panda%2Fuse-before-unload)
React Hook to prompt the user for confirmation before leaving the page.
React Hook to prompt the user for confirmation before leaving the page. Useful when changes haven't been saved.
A JavaScript library to observe Page Lifecycle API states: https://github.com/WICG/page-lifecycle