useUnmount

React lifecycle hook that calls a function when the component will unmount.

hooks
useUnmount() hook can be used to perform side-effects when component unmounts. This component will alert you when it is un-mounted.

Installation

Run the following command:

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

Usage