Skip to content

Latest commit

 

History

History

stateful

@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

Location Summary
actions UI components that allow for the creation and viewing of Cosmos messages in a proposal.
command Interface that allows customizing command modal actions and contexts.
components Stateful React components that combine elements from the state package and stateless package.
hooks Stateful React hooks that combine elements from the state package and stateless package. Notably, contains hooks for interacting with on-chain smart contracts.
proposal-module-adapter Proposal module adapter system that allows dynamic support for proposal modules in the UI.
recoil Recoil atoms and selectors that require state or other stateful information.
server Isolated functions only to be run on the server. Notably, contains main Static Site Generation code.
utils Stateful utility functions.
voting-module-adapter Voting module adapter system that allows dynamic support for voting modules in the UI.