What Dioxus Does
- React-like API — components, hooks, context, props
- rsx! macro — JSX-like syntax in Rust
- Multi-platform — web, desktop, mobile, TUI, server
- Server functions — call server code from client (like Next.js server actions)
- Signals — fine-grained reactivity
- Hot reloading — rsx! changes reload instantly
- Router — file-based or declarative routing
- Fullstack — SSR, hydration, streaming
Comparison
| Framework | Language | Platforms | Reactivity |
|---|---|---|---|
| Dioxus | Rust | Web, Desktop, Mobile, TUI | Signals |
| Leptos | Rust | Web (SSR + WASM) | Signals |
| Yew | Rust | Web (WASM) | VDOM |
| Tauri | Rust + JS | Desktop, Mobile | Frontend FW |
| React | JavaScript | Web | VDOM |
FAQ
Q: Dioxus vs Leptos? A: Dioxus covers more platforms (desktop, mobile, TUI) with an API closer to React; Leptos focuses on web, feels more like SolidJS, and has more mature SSR.
Q: Production ready? A: v0.6+ is usable for production web projects. Desktop and Mobile platforms are still being polished.
Sources
- Docs: https://dioxuslabs.com/learn
- GitHub: https://github.com/DioxusLabs/dioxus
- License: Apache 2.0 + MIT