dappconnect-vote-poll-sdk/packages/polling-hooks
Franck a6d03613fd
Rename poll react hooks
2021-12-07 12:30:32 +11:00
..
src Rename core package 2021-12-07 12:18:34 +11:00
test Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
.eslintrc.json Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
.mocharc.json Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
README.md Update readme (#93) 2021-09-24 00:08:32 +02:00
package.json Rename poll react hooks 2021-12-07 12:30:32 +11:00
prettier.config.js Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00
tsconfig.json Change repo to allow proposal in monorepo (#39) 2021-09-02 01:10:14 +02:00

README.md

Package contains react hooks that help with memoizing values

hooks

-usePollList(wakuPolling: WakuPolling | undefined) returns array of DetailedTimedPoll of polls on waku network

-useWakuPolling(appName: string, tokenAddress: string, provider: Web3Provider | undefined, multicallAddress: string | undefined) returns meoized WakuPolling object