useBeforeUnload

React side-effect hook that shows browser alert when user try to reload or close the page.

hooks
Description of the SVG image Loading...

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-before-unload
# └──> Hook coming soon.

Usage