Add ContextHandle in yew::prelude (#2372)

* Adds ContextHandle in yew::prelude

* Adds ContextHandle in yew::prelude

Added ContextHandle in /yew/src/lib.rs and updated stderr with test-overwrite

* Formats code using cargo fmt

* Revert "Adds ContextHandle in yew::prelude"

This reverts commit abdf21f2d523ac2df56cca3d29f8860dbefc5cc5.
This commit is contained in:
Anuvrat Singh 2022-01-25 18:21:16 +05:30 committed by GitHub
parent 31afa9de49
commit 4580d94c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,7 @@ where
pub mod prelude {
pub use crate::app_handle::AppHandle;
pub use crate::callback::Callback;
pub use crate::context::ContextProvider;
pub use crate::context::{ContextHandle, ContextProvider};
pub use crate::events::*;
pub use crate::html::{
create_portal, BaseComponent, Children, ChildrenWithProps, Classes, Component, Context,