Skip to content

react-restart/hooks

Repository files navigation

@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(), 300, false)