@dao-dao/stateful
v2.5.0-rc.2
Published
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.
Downloads
23
Readme
@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. |
| creators
| Creator adapter system that makes it easy to setup creation flows. |
| hooks
| Stateful React hooks that combine elements from the state
package and stateless
package. Notably, contains hooks for interacting with on-chain smart contracts. |
| inbox
| Inbox adapter system that supports various data sources for inbox items. |
| proposal-module-adapter
| Proposal module adapter system that allows dynamic support for proposal modules in the UI. |
| queries
| React Query queries. |
| 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. |
| widgets
| Widget adapter system that supports various adapters that a DAO can add to its interface. |