0.0.2 • Published 4 years ago

@rickbrown/use-interval v0.0.2

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

use-interval

a use interval hook, written by Dan Abramov

NPM JavaScript Style Guide

Install

npm install --save use-interval

Usage

import React, { Component } from 'react'

import { useMyHook } from 'use-interval'

const Example = () => {
  const example = useMyHook()
  return (
    <div>{example}</div>
  )
}

License

MIT © RickBr0wn


This hook is created using create-react-hook.

0.0.2

4 years ago

0.0.1

4 years ago