Files

702 B

some-hooks

Collection of some reusable hooks that I use

NPM JavaScript Style Guide

Install

npm install --save some-hooks

Usage

import * as React from 'react'

import { useMyHook } from 'some-hooks'

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

License

MIT © bendtherules


This hook is created using create-react-hook.