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§
- worker
- Prelude module for creating worker.
Macros§
- classes
- This macro provides a convenient way to create
Classes. - html
- This macro implements JSX-like templates.
- html_
nested - This macro is similar to
html!, but preserves the component type instead of wrapping it inHtml.