Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
root d8c1b4a1be initial 6 yıl önce
..
cjs initial 6 yıl önce
esm initial 6 yıl önce
useAnimationFrame initial 6 yıl önce
useBreakpoint initial 6 yıl önce
useCallbackRef initial 6 yıl önce
useCommittedRef initial 6 yıl önce
useEventCallback initial 6 yıl önce
useEventListener initial 6 yıl önce
useFocusManager initial 6 yıl önce
useForceUpdate initial 6 yıl önce
useGlobalListener initial 6 yıl önce
useImage initial 6 yıl önce
useIntersectionObserver initial 6 yıl önce
useInterval initial 6 yıl önce
useIsomorphicEffect initial 6 yıl önce
useMap initial 6 yıl önce
useMediaQuery initial 6 yıl önce
useMergeState initial 6 yıl önce
useMergeStateFromProps initial 6 yıl önce
useMergedRefs initial 6 yıl önce
useMounted initial 6 yıl önce
usePrevious initial 6 yıl önce
useRafInterval initial 6 yıl önce
useResizeObserver initial 6 yıl önce
useSafeState initial 6 yıl önce
useSet initial 6 yıl önce
useStableMemo initial 6 yıl önce
useStateAsync initial 6 yıl önce
useTimeout initial 6 yıl önce
useUpdatedRef initial 6 yıl önce
useWillUnmount initial 6 yıl önce
LICENSE initial 6 yıl önce
README.md initial 6 yıl önce
package.json initial 6 yıl önce

README.md

@restart/hooks npm

A set of utility and general-purpose React hooks.

Install

npm install @restart/hooks

Usage

import useInterval from '@restart/hooks/useInterval'

useInterval(() => loop(), false, 300)