@wooy/hooks
v3.0.15-10
Published
Useful hooks for Wooy applications
Downloads
9
Maintainers
Keywords
Readme
Wooy hooks
A collection of various useful hooks used across the Wooy applications.
NOTE
Make sure you keep peerDependencies
and devDependencies
versions in sync!
How to use
yarn add @wooy/utilities
import * as Hooks from '@wooy/hooks'
ORimport { hookYouWantToUse } from '@wooy/hooks'
- Ensure you call any required init functions early
Local development
Local development works best with yalc
yarn global add yalc
In wooy-hooks:
yarn start
In the app you're importing wooy-hooks:
yalc link @wooy/hooks
When you save changes inside the hooks src
folder, the package will rebuild and be pushed to all other projects that have run yalc link @wooy/hooks
.
TODO:
- jest tests