docs: remove all usages of static closure syntax and update readme
This commit is contained in:
1 parent
d1560450ba
commit
cafb7df736
66 files changed
+792
-2019
No files matched your search
+1
-1
@@ -115,7 +115,7 @@ fn App(cx: Scope) -> Element {
|
||||
|
||||
Tiny components:
|
||||
```rust
|
||||
static App: Component = |cx, _| rsx!(cx, div {"hello world!"});
|
||||
static App: Component = |cx| rsx!(cx, div {"hello world!"});
|
||||
```
|
||||
|
||||
Borrowed prop contents:
|
||||
|
||||
Reference in new issue
Block a user