use dioxus::prelude::*; use dioxus_core as dioxus; use dioxus_web::WebsysRenderer; fn main() { wasm_logger::init(wasm_logger::Config::new(log::Level::Debug)); console_error_panic_hook::set_once(); wasm_bindgen_futures::spawn_local(WebsysRenderer::start(Example)) } static Example: FC<()> = |ctx, props| { let (name, set_name) = use_state(&ctx, || "...?"); log::debug!("Running component...."); ctx.render(html! { //