1.0.8 • Published 3 years ago
just-hook v1.0.8
just-hook
awesome react hooks
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