Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 670 Bytes

README.hbs.md

File metadata and controls

40 lines (26 loc) · 670 Bytes

My personal library of reusable React hooks

Installation

GitHub Package Registry

This package is published on both the GitHub Package Registry and the npm registry. To use the GPR, change the registry for the @jgierer12 scope before installing:

echo "@jgierer12:registry=https://npm.pkg.github.com" >> .npmrc
npm install @jgierer12/hooks
import { useMount } from "@jgierer12/hooks";
useMount(...)

// or

import * as hooks from "@jgierer12/hooks";
hooks.useMount(...)

API

{{>main}}

License

MIT © 2019 Jonas Gierer