0.0.18 • Published 3 years ago
@julienvanbeveren/hooks v0.0.18
A library of custom hooks for React.js
Installation
$ npm install @julienvanbeveren/hooks --saveUsage
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
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago
0.0.0
3 years ago