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 5 yıl önce
..
cjs initial 5 yıl önce
esm initial 5 yıl önce
useAnimationFrame initial 5 yıl önce
useBreakpoint initial 5 yıl önce
useCallbackRef initial 5 yıl önce
useCommittedRef initial 5 yıl önce
useEventCallback initial 5 yıl önce
useEventListener initial 5 yıl önce
useFocusManager initial 5 yıl önce
useForceUpdate initial 5 yıl önce
useGlobalListener initial 5 yıl önce
useImage initial 5 yıl önce
useIntersectionObserver initial 5 yıl önce
useInterval initial 5 yıl önce
useIsomorphicEffect initial 5 yıl önce
useMap initial 5 yıl önce
useMediaQuery initial 5 yıl önce
useMergeState initial 5 yıl önce
useMergeStateFromProps initial 5 yıl önce
useMergedRefs initial 5 yıl önce
useMounted initial 5 yıl önce
usePrevious initial 5 yıl önce
useRafInterval initial 5 yıl önce
useResizeObserver initial 5 yıl önce
useSafeState initial 5 yıl önce
useSet initial 5 yıl önce
useStableMemo initial 5 yıl önce
useStateAsync initial 5 yıl önce
useTimeout initial 5 yıl önce
useUpdatedRef initial 5 yıl önce
useWillUnmount initial 5 yıl önce
LICENSE initial 5 yıl önce
README.md initial 5 yıl önce
package.json initial 5 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)