@raddix/use-interval
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

useInterval

The useInterval hook is used to create an interval that executes a function every specified number of milliseconds. It is similar to the setInterval function, but it is declarative and can be cancelled.

Please refer to the documentation for more information.

/@raddix/use-interval/

    Package Sidebar

    Install

    npm i @raddix/use-interval

    Homepage

    raddix.dev

    Weekly Downloads

    3

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    5.53 kB

    Total Files

    6

    Last publish

    Collaborators

    • immois