|
@@ -18,7 +18,7 @@ fn app(cx: Scope) -> Element {
|
|
|
|
|
|
In general, Dioxus and React share many functional similarities. If this guide is lacking in any general concept or an error message is confusing, React's documentation might be more helpful. We are dedicated to providing a *familiar* toolkit for UI in Rust, so we've chosen to follow in the footsteps of popular UI frameworks (React, Redux, etc). If you know React, then you already know Dioxus. If you don't know either, this guide will still help you!
|
|
In general, Dioxus and React share many functional similarities. If this guide is lacking in any general concept or an error message is confusing, React's documentation might be more helpful. We are dedicated to providing a *familiar* toolkit for UI in Rust, so we've chosen to follow in the footsteps of popular UI frameworks (React, Redux, etc). If you know React, then you already know Dioxus. If you don't know either, this guide will still help you!
|
|
|
|
|
|
-> This is an introduction book! For advanced topics, check out the [Reference](https://dioxuslabs.com/reference) instead.
|
|
|
|
|
|
+> This is an introduction book! For advanced topics, check out the [Reference](/reference) instead.
|
|
|
|
|
|
## Multiplatform
|
|
## Multiplatform
|
|
|
|
|
|
@@ -37,7 +37,7 @@ The Web is the best-supported target platform for Dioxus. To run on the Web, you
|
|
|
|
|
|
Because the web is a fairly mature platform, we expect there to be very little API churn for web-based features.
|
|
Because the web is a fairly mature platform, we expect there to be very little API churn for web-based features.
|
|
|
|
|
|
-[Jump to the getting started guide for the web.]()
|
|
|
|
|
|
+[Jump to the getting started guide for the web.](/reference/platforms/web)
|
|
|
|
|
|
Examples:
|
|
Examples:
|
|
- [TodoMVC](https://github.com/DioxusLabs/example-projects/tree/master/todomvc)
|
|
- [TodoMVC](https://github.com/DioxusLabs/example-projects/tree/master/todomvc)
|
|
@@ -55,7 +55,7 @@ For rendering statically to an `.html` file or from a WebServer, then you'll wan
|
|
let contents = dioxus::ssr::render_vdom(&dom);
|
|
let contents = dioxus::ssr::render_vdom(&dom);
|
|
```
|
|
```
|
|
|
|
|
|
-[Jump to the getting started guide for SSR.]()
|
|
|
|
|
|
+[Jump to the getting started guide for SSR.](/reference/platforms/ssr)
|
|
|
|
|
|
Examples:
|
|
Examples:
|
|
- [Example DocSite](https://github.com/dioxusLabs/docsite)
|
|
- [Example DocSite](https://github.com/dioxusLabs/docsite)
|
|
@@ -68,13 +68,13 @@ The desktop is a powerful target for Dioxus, but is currently limited in capabil
|
|
|
|
|
|
Desktop APIs will likely be in flux as we figure out better patterns than our ElectronJS counterpart.
|
|
Desktop APIs will likely be in flux as we figure out better patterns than our ElectronJS counterpart.
|
|
|
|
|
|
-[Jump to the getting started guide for Desktop.]()
|
|
|
|
|
|
+[Jump to the getting started guide for Desktop.](/reference/platforms/desktop)
|
|
|
|
|
|
Examples:
|
|
Examples:
|
|
- [File explorer](https://github.com/dioxusLabs/file-explorer/)
|
|
- [File explorer](https://github.com/dioxusLabs/file-explorer/)
|
|
- [WiFi scanner](https://github.com/DioxusLabs/example-projects/blob/master/wifi-scanner)
|
|
- [WiFi scanner](https://github.com/DioxusLabs/example-projects/blob/master/wifi-scanner)
|
|
|
|
|
|
-[](https://github.com/dioxusLabs/file-explorer/)
|
|
|
|
|
|
+[](https://github.com/DioxusLabs/example-projects/tree/master/file-explorer)
|
|
|
|
|
|
### Mobile Support
|
|
### Mobile Support
|
|
---
|
|
---
|
|
@@ -82,7 +82,7 @@ Mobile is currently the least-supported renderer target for Dioxus. Mobile apps
|
|
|
|
|
|
Mobile support is currently best suited for CRUD-style apps, ideally for internal teams who need to develop quickly but don't care much about animations or native widgets.
|
|
Mobile support is currently best suited for CRUD-style apps, ideally for internal teams who need to develop quickly but don't care much about animations or native widgets.
|
|
|
|
|
|
-[Jump to the getting started guide for Mobile.]()
|
|
|
|
|
|
+[Jump to the getting started guide for Mobile.](/reference/platforms/mobile)
|
|
|
|
|
|
Examples:
|
|
Examples:
|
|
- [Todo App](https://github.com/DioxusLabs/example-projects/blob/master/ios_demo)
|
|
- [Todo App](https://github.com/DioxusLabs/example-projects/blob/master/ios_demo)
|