just-hook
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

just-hook

awesome react hooks

NPM JavaScript Style Guide

Install

npm install --save just-hook

Usage

import React from 'react'

import { useLocalStorage } from 'just-hook'
import 'just-hook/dist/index.css'

const App = () => {
  const [data, set, remove] = useLocalStorage('keys', 'antonioLopes')

  console.log(data, set, remove)
  return <h1>Antonio Lopes</h1>
}

export default App

License

MIT © Antonio Lopes

just-hook

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.81latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.81
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i just-hook

Weekly Downloads

1

Version

1.0.8

License

none

Unpacked Size

92.5 kB

Total Files

16

Last publish

Collaborators

  • _antoniolopes_