dappconnect-voting-sdk/packages/poll-react-hooks
Franck R 4d88e53141
Merge pull request #20 from status-im/release/0.3.0
2022-01-20 11:32:13 +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.3.0 2022-01-12 16:47:00 +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