@wooy/bnc-onboard-hooks
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

PoolTogether bnc-onboard-hooks

Hooks for adding Onboard.js to PoolTogether dapps.

NOTE

Make sure you keep peerDependencies and devDependencies versions in sync!

How to use

  1. yarn add @pooltogether/utilities
  2. import { hookYouWantToUse } from '@wooy/bnc-onboard-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 @wooy/bnc-onboard-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/bnc-onboard-hooks.

TODO:

  • jest tests

Readme

Keywords

none

Package Sidebar

Install

npm i @wooy/bnc-onboard-hooks

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

42.2 kB

Total Files

15

Last publish

Collaborators

  • rjchirinos
  • alejolovallo
  • hperezrodal
  • nicomendiatd
  • jm.aragonpaz
  • lucas-marc
  • lizanlycan
  • mariano-aguero
  • pmprete
  • djaciel
  • awolfsdorf
  • wooy_developer