dappconnect-voting-sdk/packages/poll-react-hooks
Franck a152432976
Fix some typos, add title to readmes
2021-12-07 13:24:10 +11:00
..
src Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +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 Rename polling-hooks to poll-react-hooks 2021-12-07 13:19:23 +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