Skip to content
uiify

useUnmount

Run a cleanup callback on unmount.

Signature

useUnmount(fn: () => void): void

Import

import { useUnmount } from "@gunkin/uiify/hooks";