2.1.4 • Published 8 months ago

@chanceprotocol/hooks v2.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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 @chanceprotocol/utilities
  2. import * as Hooks from '@chanceprotocol/hooks' OR import { hookYouWantToUse } from '@chanceprotocol/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 @chanceprotocol/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 @chanceprotocol/hooks.

TODO:

  • jest tests
2.1.4

8 months ago

2.1.3

8 months ago

2.1.2

8 months ago

2.1.1

9 months ago

2.1.0

9 months ago