2.4.0-rc.8 • Published 2 months ago

@dao-dao/stateful v2.4.0-rc.8

Weekly downloads
-
License
BSD-3-Clause-Clea...
Repository
-
Last release
2 months ago

@dao-dao/stateful

This package combines the @dao-dao/stateless and @dao-dao/state packages into stateful components, hooks, and other systems. These are the live, intelligent components that do fun stuff with data.

Layout

LocationSummary
actionsUI components that allow for the creation and viewing of Cosmos messages in a proposal.
commandInterface that allows customizing command modal actions and contexts.
componentsStateful React components that combine elements from the state package and stateless package.
creatorsCreator adapter system that makes it easy to setup creation flows.
hooksStateful React hooks that combine elements from the state package and stateless package. Notably, contains hooks for interacting with on-chain smart contracts.
inboxInbox adapter system that supports various data sources for inbox items.
proposal-module-adapterProposal module adapter system that allows dynamic support for proposal modules in the UI.
recoilRecoil atoms and selectors that require state or other stateful information.
serverIsolated functions only to be run on the server. Notably, contains main Static Site Generation code.
utilsStateful utility functions.
voting-module-adapterVoting module adapter system that allows dynamic support for voting modules in the UI.
widgetsWidget adapter system that supports various adapters that a DAO can add to its interface.