React lifecycle hook that calls a function when the component will unmount.
Run the following command:
npx ever-ui-clx@0.2.1 add demo-use-unmount
# └──> Hook coming soon.
useUnmount()
hook can be used to perform side-effects when component unmounts. This component will alert you when it is un-mounted.