Expand description
The Yew Prelude
The purpose of this module is to alleviate imports of many common types:
use yew::prelude::*;
Re-exports§
pub use crate::agent::Bridge;
pub use crate::agent::Bridged;
pub use crate::agent::Dispatched;
pub use crate::agent::Threaded;
pub use crate::app::App;
pub use crate::callback::Callback;
pub use crate::html::Children;
pub use crate::html::ChildrenWithProps;
pub use crate::html::Classes;
pub use crate::html::Component;
pub use crate::html::ComponentLink;
pub use crate::html::Html;
pub use crate::html::NodeRef;
pub use crate::html::Properties;
pub use crate::html::ShouldRender;
pub use crate::macros::html;
pub use crate::events::*;
Modules§
- Prelude module for creating worker.
Macros§
- This macro provides a convenient way to create
Classes
. - This macro implements JSX-like templates.