use yew::prelude::*; #[derive(Debug, PartialEq, Clone)] struct Ctx; #[hook] fn use_some_html() -> Html { if let Some(_m) = use_context::() { use_context::().unwrap(); todo!() } let _ = || { use_context::().unwrap(); todo!() }; for _ in 0..10 { use_context::().unwrap(); } while let Some(_m) = use_context::() { use_context::().unwrap(); } match use_context::() { Some(_) => use_context::(), None => { todo!() } } loop { use_context::().unwrap(); todo!() } } fn main() {}