🌗🚀 Dioxus
A concurrent, functional, virtual DOM for Rust
# About
Dioxus is a portable, performant, and ergonomic framework for building cross-platform user experiences in Rust.
```rust
static Example: FC<()> = |ctx| {
let (value, set_value) = use_state(&ctx, || "...?");
// custom (more powerful) syntax
ctx.render(html! {
div {
h1 { "Hello, {value}" }
button { "?", onclick: move |_| set_value("world!") }
button { "?", onclick: move |_| set_value("Dioxus 🎉") }
}
})
// Classic syntax
// no more updates, frozen
ctx.render(html!{