Search results
26 packages found
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
React component and hook which listens to the beforeunload window event.
> vuex持久化插件, Persist Vuex state by Web Storage
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
Easy way to determine beforeunload callbacks
Prevent page unloading from the user's action
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.
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.
A unified API to reliably send data on beforeunload.
React component and hook which listens to `beforeunload` on the window when mounted.
React component and hook which listens to the beforeunload window event.
React Hook to prevent leave window if state is different with setting value
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.
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 notification is displayed if the user wants to leave the page without saving the changes.