Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgierer12/hooks
My personal library of reusable React hooks
https://github.com/jgierer12/hooks
Last synced: 2 months ago
JSON representation
My personal library of reusable React hooks
- Host: GitHub
- URL: https://github.com/jgierer12/hooks
- Owner: jgierer12
- License: mit
- Created: 2019-05-05T10:52:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T00:34:44.000Z (over 5 years ago)
- Last Synced: 2024-11-01T10:07:46.169Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.hbs.md
- License: LICENSE
Awesome Lists containing this project
README
> My personal library of reusable React hooks
# Installation
GitHub Package Registry
This package is published on both the
[GitHub Package Registry](https://github.com/features/package-registry) and the
npm registry. To use the GPR, change the registry for the `@jgierer12` scope
before installing:```sh
echo "@jgierer12:registry=https://npm.pkg.github.com" >> .npmrc
``````sh
npm install @jgierer12/hooks
``````js
import { useMount } from "@jgierer12/hooks";
useMount(...)// or
import * as hooks from "@jgierer12/hooks";
hooks.useMount(...)
```# API
{{>main}}
# License
[MIT](LICENSE) © 2019 Jonas Gierer