docs: update readme
This commit is contained in:
1 parent
c2b73ddb2e
commit
e881b86d2e
1 file changed
+1
-2
@@ -49,7 +49,7 @@
|
|||||||
Dioxus is a portable, performant, and ergonomic framework for building cross-platform user experiences in Rust.
|
Dioxus is a portable, performant, and ergonomic framework for building cross-platform user experiences in Rust.
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
fn App(cx: Context<()>) -> DomTree {
|
static App: FC<()> = |cx, props| {
|
||||||
let mut count = use_state(cx, || 0);
|
let mut count = use_state(cx, || 0);
|
||||||
|
|
||||||
cx.render(rsx!(
|
cx.render(rsx!(
|
||||||
@@ -64,7 +64,6 @@ Dioxus can be used to deliver webapps, desktop apps, static sites, liveview apps
|
|||||||
|
|
||||||
If you know React, then you already know Dioxus.
|
If you know React, then you already know Dioxus.
|
||||||
|
|
||||||
|
|
||||||
### Unique features:
|
### Unique features:
|
||||||
- Incredible inline documentation. Supports hover and guides for all HTML elements, listeners, and events.
|
- Incredible inline documentation. Supports hover and guides for all HTML elements, listeners, and events.
|
||||||
- Templates are "constified" at compile time. Nodes that don't change will won't be diffed.
|
- Templates are "constified" at compile time. Nodes that don't change will won't be diffed.
|
||||||
|
|||||||
Reference in new issue
Block a user