My personal library of reusable React hooks
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(...)
{{>main}}
MIT © 2019 Jonas Gierer