The Yew Prelude
The purpose of this module is to alleviate imports of many common types:
pub use crate::callback::Callback;
pub use crate::context::ContextProvider;
pub use crate::events::*;
pub use crate::html::create_portal;
pub use crate::html::Html;
pub use crate::html::NodeRef;
pub use crate::macros::html;
pub use crate::functional::*;
An instance of an application.
A set of classes.
Components are the basic building blocks of the UI in a Yew app. Each Component chooses how to display itself using received props and self-managed state. Components can be dynamic and interactive by declaring messages that are triggered and handled asynchronously. This async update mechanism is inspired by Elm and the actor model used in the Actix framework.
Trait for building properties for a component
A type used for accepting children elements in Component::Properties.
A type used for accepting children elements in Component::Properties and accessing their props.