Hooks
25 SSR-safe React hooks from @gunkin/uiify/hooks, the substrate under the components.
Substrate
6 entriesuseIsomorphicLayoutEffectSSR-safe layout effect (no server warning).useEventCallbackStable callback identity that always sees fresh props.useIsMountedQuery whether the component is still mounted.useUnmountRun a cleanup callback on unmount.useMergedRefsMerge multiple refs onto one element.useIdSSR-safe unique id with an optional override.State
4 entriesEffects
6 entriesuseUpdateEffectEffect that skips the first render.useTimeoutRun a callback after a delay, like a declarative setTimeout.useIntervalDeclarative setInterval (pause with null).useDebounceDebounced copy of a value.useDebouncedCallbackDebounced version of a callback.useThrottledCallbackThrottled version of a callback.