Evan Almloff 52d5c8d4e7 update READMEs and tags for the 0.3 release %!s(int64=2) %!d(string=hai) anos
..
examples 5c20e651da fix: get rollover working %!s(int64=2) %!d(string=hai) anos
src 366e46eddf chore: add some fixes to hot reload %!s(int64=2) %!d(string=hai) anos
tests e6920e9b34 chore: fix web %!s(int64=2) %!d(string=hai) anos
.gitignore e04a6d63a5 chore: move tests out of core and into the top level crate %!s(int64=3) %!d(string=hai) anos
CHANGELOG.md 56f3002aed feat: add changelogs %!s(int64=3) %!d(string=hai) anos
Cargo.toml 7f01f61138 feat: publish 0.3 versions of many crates %!s(int64=2) %!d(string=hai) anos
Makefile.toml bd565bb65f improve Makefile tests %!s(int64=3) %!d(string=hai) anos
README.md 52d5c8d4e7 update READMEs and tags for the 0.3 release %!s(int64=2) %!d(string=hai) anos
usage.md 4eefc3f854 chore: rename all &cx to cx, make clipppy happy %!s(int64=2) %!d(string=hai) anos
webdriver.json ee49fc27ff fix some newlines %!s(int64=3) %!d(string=hai) anos

README.md

Dioxus Native Core

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

Dioxus Router is a first-party Router for all your Dioxus Apps. It provides a React-Router-style interface using somewhat loose typing rules.

fn app() {
    cx.render(rsx! {
        Router {
            Route { to: "/", Component {} },
            Route { to: "/blog", Blog {} },
            Route { to: "/blog/:id", BlogPost {} },
        }
    })
}

You need to enable the right features for the platform you're targeting since these are not determined automatically!

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.