1.0.2 • Published 3 years ago

react-set-interval-hook v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-set-interval-hook

setInterval for React Hook

NPM JavaScript Style Guide

Install

npm install --save react-set-interval-hook

Usage

import React from "react";

import {ReactInterval} from "react-set-interval-hook";

const App = () => {

  ReactInterval(() => {
    console.log('Hello')
  }, 1000)

  return 'Hello'
}

export default App

License

MIT © berataras

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago