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::callback::Callback;
pub use crate::callback::CallbackRef;
pub use crate::callback::CallbackRefMut;
pub use crate::context::ContextHandle;
pub use crate::context::ContextProvider;
pub use crate::html::create_portal;
pub use crate::html::BaseComponent;
pub use crate::html::Children;
pub use crate::html::ChildrenWithProps;
pub use crate::html::Classes;
pub use crate::html::Component;
pub use crate::html::Context;
pub use crate::html::Html;
pub use crate::html::HtmlResult;
pub use crate::html::NodeRef;
pub use crate::html::Properties;
pub use crate::macros::html;
pub use crate::suspense::Suspense;
pub use crate::virtual_dom::AttrValue;
pub use crate::events::*;
pub use crate::functional::*;
Macros§
- This macro provides a convenient way to create
Classes
. - This macro implements JSX-like templates.
Structs§
- AppHandle
csr
An instance of an application.