Crate avalanche

Source

Re-exports§

pub use hooks::state;
pub use hooks::vec;
pub use hooks::Context;
pub use tracked::Tracked;

Modules§

hooks
Provides useful hooks and supporting utilities.
renderer
Holds platform-specific rendering interfaces.
shared
A reference-counted interior-mutable type designed to reduce runtime borrow rule violations.
tracked
Holds types and macros used for propogating and tracking data updates.

Macros§

enclose
Takes a list of identifiers terminated by a semicolon and expression. Each identifier is cloned, and made available to the expression. The macro evaluates to that expression. This is useful for passing things like state and setters to multiple component props.
tracked
Unwraps and propogates a Tracked value.
updated
Returns whether the given Tracked value has been updated.

Structs§

View
A reference-counted type that holds an instance of a component. Component functions must return a View.

Traits§

Component
The trait representing a component.

Attribute Macros§

component
An attribute macro used to define components.