Search results
26 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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
- page
- lifecycle
- unload
- beforeunload
- visibilityState
- visibilitychange
- active
- passive
- hidden
- frozen
- discarded
- terminated
A unified API to reliably send data on beforeunload.
Vue component that conditionaly prevents page leave/reload
Before unload react component
- react-beforeunload
- beforeunload
- beforeunload-react
- beforeunload-react-component
- react-beforeunload-component
- before-unload
- onbeforeunload
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.
React component and hook which listens to `beforeunload` on the window when mounted.
Prevent page unloading from the user's action
A JavaScript library to observe Page Lifecycle API states: https://github.com/WICG/page-lifecycle
- page
- lifecycle
- unload
- beforeunload
- visibilityState
- visibilitychange
- active
- passive
- hidden
- frozen
- discarded
- terminated
Prevent screen transition if any state changed.
A custom React Hook that executes a callback when a user is exiting your app- in both desktop and mobile browsers.
React Hook to prompt the user for confirmation before leaving the page. Useful when changes haven't been saved.
React Hook to prompt the user for confirmation before leaving the page. Useful when changes haven't been saved.
[![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.
> vuex持久化插件, Persist Vuex state by Web Storage
React component and hook which listens to the beforeunload window event.
Easy way to determine beforeunload callbacks
A notification is displayed if the user wants to leave the page without saving the changes.