Module component

Source
Expand description

Declarative views, widgets, and reactive state. Declarative UI: views, components, and reactive bindings.

Re-exports§

pub use binding::Binding;
pub use context::Context;
pub use node::Node;
pub use node::NodeKind;
pub use props::Props;
pub use signal::Memo;
pub use signal::Signal;
pub use state::State;
pub use view::Component;
pub use view::ComponentNode;
pub use view::IntoView;
pub use view::IntoViewKeyExt;
pub use view::View;
pub use view::ViewKind;
pub use view::Widget;

Modules§

binding
Binding implementation details. Uniform wrapper for static and reactive widget properties.
context
Context implementation details. Component context for state, services, invalidation, and runtime access.
node
Node implementation details. Lightweight legacy node model independent of widget views.
props
Props implementation details. Marker contract for owned declarative component properties.
signal
Signal implementation details. Single-threaded reactive values and lazy derived computations.
state
State implementation details. Ergonomic state handle layered over Signal.
view
View implementation details. Retained view contract and type-erased view adapters.

Functions§

component
Builds a component View from cloneable props and a render function.