0.4.0 • Published 3 years ago

@waku/poll-sdk-react-hooks v0.4.0

Weekly downloads
-
License
MIT OR Apache-2.0
Repository
github
Last release
3 years ago

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