|
@@ -29,14 +29,14 @@ Dioxus is heavily inspired by React, supporting many of the same concepts:
|
|
If you know React, then you know Dioxus.
|
|
If you know React, then you know Dioxus.
|
|
|
|
|
|
Dioxus is *substantially* more performant than many of the other Rust UI libraries (Yew/Percy) and is *significantly* more performant
|
|
Dioxus is *substantially* more performant than many of the other Rust UI libraries (Yew/Percy) and is *significantly* more performant
|
|
-than React - roughly competitve with InfernoJS.
|
|
|
|
|
|
+than React - roughly competitive with InfernoJS.
|
|
|
|
|
|
Remember: Dioxus is a library for declaring interactive user interfaces - it is not a dedicated renderer. Most 1st party renderers for Dioxus currently only support web technologies.
|
|
Remember: Dioxus is a library for declaring interactive user interfaces - it is not a dedicated renderer. Most 1st party renderers for Dioxus currently only support web technologies.
|
|
|
|
|
|
## Brief Overview
|
|
## Brief Overview
|
|
|
|
|
|
All Dioxus apps are built by composing functions that take in a `Scope` which is generic over some `Properties` and return an `Element`.
|
|
All Dioxus apps are built by composing functions that take in a `Scope` which is generic over some `Properties` and return an `Element`.
|
|
-A `Scope` holds relevant state data for the the currently-rendered component.
|
|
|
|
|
|
+A `Scope` holds relevant state data for the currently-rendered component.
|
|
|
|
|
|
To launch an app, we use the `launch` method for the specific renderer we want to use. In the launch function, we pass the app's `Component`.
|
|
To launch an app, we use the `launch` method for the specific renderer we want to use. In the launch function, we pass the app's `Component`.
|
|
|
|
|
|
@@ -322,4 +322,4 @@ Alternatives to Dioxus include:
|
|
- MoonZoom/Seed: opinionated frameworks based on the Elm model (message, update) - no hooks
|
|
- MoonZoom/Seed: opinionated frameworks based on the Elm model (message, update) - no hooks
|
|
|
|
|
|
We've put a lot of work into making Dioxus ergonomic and *familiar*.
|
|
We've put a lot of work into making Dioxus ergonomic and *familiar*.
|
|
-Our target audience is TypeSrcipt developers looking to switch to Rust for the web - so we need to be comparabale to React.
|
|
|
|
|
|
+Our target audience is TypeScript developers looking to switch to Rust for the web - so we need to be comparable to React.
|