dappconnect-vote-poll-sdk/packages/poll-react-hooks
Franck 01cd334c29
s/dappconnect/wakuconnect
2021-12-23 16:04:58 +11:00
..
src s/@dappconnect/@waku/ 2021-12-23 16:04:36 +11:00
test Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +11:00
.eslintrc.json Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +11:00
.mocharc.json Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +11:00
README.md Fix some typos, add title to readmes 2021-12-07 13:24:10 +11:00
package.json s/dappconnect/wakuconnect 2021-12-23 16:04:58 +11:00
prettier.config.js Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +11:00
tsconfig.json Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +11:00

README.md

Package contains react hooks that help with memorizing 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