1.5.4 • Published 2 years ago

@dtribe/hooks v1.5.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

PoolTogether hooks

A collection of various useful hooks used across the PoolTogether applications.

NOTE

Make sure you keep peerDependencies and devDependencies versions in sync!

How to use

  1. yarn add @dtribe/utilities
  2. import * as Hooks from '@dtribe/hooks' OR import { hookYouWantToUse } from '@dtribe/hooks'
  3. Ensure you call any required init functions early

Local development

Local development works best with yalc yarn global add yalc

In pooltogether-hooks: yarn start

In the app you're importing pooltogether-hooks: yalc link @dtribe/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 @dtribe/hooks.

TODO:

  • jest tests
1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago