0.0.18 • Published 2 years ago
@julienvanbeveren/hooks v0.0.18
A library of custom hooks for React.js
Installation
$ npm install @julienvanbeveren/hooks --save
Usage
Quick start
import { useHookName } from '@julienvanbeveren/hooks'
Hooks
hook | guide | description |
---|---|---|
useDebounce | useDebounce.md | a hook built on useEffect, that allows you to debounce your function in milliseconds |
useThrottle | useThrottle.md | a hook built on useEffect, that allows you to throttle your function in milliseconds |
useClipboard | useClipboard.md | an easier way to interact with navigator.clipboard |
useLocalStorage | useLocalStorage.md | a state manager that can sync state between browser tabs and components without boilerplate |
usePersistentState | usePersistentState.md | a state manager that persists on reload |
usePrevState | usePrevState.md | a state manager that gives you access to the previous state |
useScreens | useScreens.md | a hook for getting info about the clients screensize |
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :sunglasses:
Authors
Julien Van Beveren
License
This repository's contents are subjected to be under the MIT License. © Julien Van Beveren
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago
0.0.0
2 years ago