No description
Find a file
Jonathan Kelley 7158bc3575 Feat: revert FC changes (like the old style).
This commit reverts to the old style of props + FC. The old style is desirable
because people comfortable with react can automatically be comfortable with
dioxus. It's also nice in that the same props can be used to drive two different
components - something the trait version couldn't do. Now, our trait bound forces
implementations to have the #[derive(Props)] flag. This will need to implement the
Properties trait as well as PartialEq (using ptr::equal for closure fields).
2021-03-09 00:58:20 -05:00
.vscode Feat: update readme and examples 2021-03-01 00:16:48 -05:00
docs Feat: update docs a bit 2021-03-02 01:47:27 -05:00
examples Feat: synthetic events wired up (ish) 2021-03-04 18:12:24 -05:00
notes WIP: some docs 2021-03-08 14:09:18 -05:00
packages Feat: revert FC changes (like the old style). 2021-03-09 00:58:20 -05:00
.gitignore Feat: docs, code frm percy 2021-01-14 02:56:41 -05:00
Cargo.toml WIP: remove FC 2021-03-07 21:28:20 -05:00
LICENSE Feat: wire up a very basic dom updater 2021-02-14 23:39:46 -05:00
README.md WIP: remove FC 2021-03-07 21:28:20 -05:00

🌗🚀 Dioxus

Frontend that scales.

About

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

#[fc]
static Example: FC<()> = |ctx, props| {
    let (selection, set_selection) = use_state(&ctx, || "...?");

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

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
  • Rust! (enums, static types, modules, efficiency)

Get Started with...

WebApps Desktop Mobile State Management Docs Tools

Explore


Dioxus LiveHost

Dioxus LiveHost is a paid service that accelerates the deployment of Dioxus Apps. It provides CI/CD, testing, monitoring, scaling, and deployment specifically for Dioxus apps.

  • It's the fastest way of launching your next internal tool, side-project, or startup. 🚀