@piplup/utils
Version:
A collection of utility hooks and functions crafted to power up the packages within Piplup.
11 lines (10 loc) • 597 B
TypeScript
export { compact } from './helpers/compact';
export { execSequentially } from './helpers/exec-sequentially';
export { forkRef } from './helpers/fork-ref';
export { hasOwnProperty } from './helpers/has-own-property';
export { setRef } from './helpers/set-ref';
export { useEventCallback } from './hooks/use-event-callback';
export { useEventListener } from './hooks/use-event-listener';
export { useForkRef } from './hooks/use-fork-ref';
export { useIsomorphicEffect } from './hooks/use-isomorphic-effect';
export { getItem, removeItem, setItem, useLocalStorage } from './hooks/use-local-storage';