1
0

Тайлбар байхгүй

Jonathan Kelley c5089ba3c5 wip: more progress on parity docs. 4 жил өмнө
.vscode c5089ba3c5 wip: more progress on parity docs. 4 жил өмнө
docs 9237d02cf2 Feat: update docs a bit 4 жил өмнө
examples 4c8130c4e4 Feat: about to consolidate context and scope 4 жил өмнө
notes c5089ba3c5 wip: more progress on parity docs. 4 жил өмнө
packages c5089ba3c5 wip: more progress on parity docs. 4 жил өмнө
.gitignore 2b9c8d09d9 Feat: docs, code frm percy 4 жил өмнө
Cargo.toml fe67ff9fa4 wip: doesnt share on thread 4 жил өмнө
LICENSE c4e8d8bb31 Feat: wire up a very basic dom updater 4 жил өмнө
README.md 3cfa1fe125 Feat: buff the readme and docs 4 жил өмнө

README.md

🌗🚀 Dioxus

Frontend that scales.

Dioxus is a portable, performant, and ergonomic framework for building cross-platform user experiences in Rust.

//! A complete dioxus web app
use dioxus_web::*;

fn Example(ctx: Context, props: &()) -> DomTree {
    let selection = use_state(ctx, || "...?");

    ctx.render(rsx! {
        div {
            h1 { "Hello, {selection}" }
            button { "?", onclick: move |_| selection.set("world!")}
            button { "?", onclick: move |_| selection.set("Dioxus 🎉")}
        }
    })
};

fn main() {
    dioxus_web::start(Example).block_on();
}

Dioxus can be used to deliver webapps, desktop apps, static pages, liveview apps, Android apps, iOS Apps, and more. At its core, Dioxus is entirely renderer agnostic and has great documentation for creating new renderers for any platform.

Things you'll love ❤️:

  • Ergonomic design
  • Minimal boilerplate
  • Simple build, test, and deploy
  • Support for html! and rsx! templating
  • SSR, WASM, desktop, and mobile support
  • Powerful and simple integrated state management
  • Rust! (enums, static types, modules, efficiency)

Get Started with...

Explore

Blog Posts

  • [Why we need a stronger typed web]()
  • [Isomorphic webapps in 10 minutes]()
  • [Rust is high level too]()
  • [Eliminating crashes with Rust webapps]()
  • [Tailwind for Dioxus]()
  • [The monoglot startup]()
Web Desktop Mobile State Management Docs Tools