useEventCallback
Stable callback identity that always sees fresh props.
Signature
useEventCallback<T>(fn: T): TImport
import { useEventCallback } from "@gunkin/uiify/hooks";Stable callback identity that always sees fresh props.
useEventCallback<T>(fn: T): Timport { useEventCallback } from "@gunkin/uiify/hooks";