dappconnect-vote-poll-sdk/packages/poll-react-hooks
Franck Royer bddbd1359a
Release 0.4.0
2022-01-20 11:40:28 +11:00
..
src Fix lint/core functions and decimals 2022-01-20 01:19:47 +01: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 Release 0.4.0 2022-01-20 11:40:28 +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