Clone in a terminal:
lib.rs
use dioxus::prelude::*; use wasm_bindgen::prelude::*; #[component] fn Counter() -> Element { let mut count = use_signal(|| 0_u32); rsx! { button { id: "counter", onclick: move |_| count += 1, "Clicks: {count}" } } } #[wasm_bindgen(start)] pub fn main() { dioxus::launch(Counter); }

File history (1 commits)

b9a20cf Johan Mattsson - johan.mattsson.m@gmail.com
Benchmarks
Benchmarks

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112