A set of utility and general-purpose React hooks.
npm install @restart/hooks
import useInterval from '@restart/hooks/useInterval'
useInterval(() => loop(), 300, false)
A set of utility and general-purpose React hooks.
A set of utility and general-purpose React hooks.
npm install @restart/hooks
import useInterval from '@restart/hooks/useInterval'
useInterval(() => loop(), 300, false)
A set of utility and general-purpose React hooks.
MIT License