https://github.com/lhdi/lhd-hooks
set of react hooks ready for usage.
https://github.com/lhdi/lhd-hooks
hooks hooks-api-react lhd-hooks react reactjs
Last synced: 5 months ago
JSON representation
set of react hooks ready for usage.
- Host: GitHub
- URL: https://github.com/lhdi/lhd-hooks
- Owner: LHDi
- Created: 2020-01-16T22:40:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T14:44:28.000Z (over 5 years ago)
- Last Synced: 2025-08-20T01:25:21.529Z (6 months ago)
- Topics: hooks, hooks-api-react, lhd-hooks, react, reactjs
- Language: JavaScript
- Size: 673 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LHD HOOKS
LHD HOOKS is a set of react hooks ready for usage.
- install
- import
- use!
### Installation
LHD HOOKS requires [react](https://reactjs.org/) v16.8.0+ to run.
Install LHD HOOKS with [npm](https://www.npmjs.com).
```sh
$ cd my-project
$ npm install lhd-hooks
```
import hook in components:
```sh
import {useSwipe} from 'lhd-hooks';
```
[demo](https://lhdi.github.io/lhd-hooks/)
use the mobile version!
# Contribution
You can also help by:
- Add new hooks.
- Suggest hook ideas.
- Improve existing hooks.
Feel free to contribute.