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

Readme

Keywords

none

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_