1.0.2 • Published 3 years ago
react-set-interval-hook v1.0.2
react-set-interval-hook
setInterval for React Hook
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