docs: remove all usages of static closure syntax and update readme

This commit is contained in:
Jonathan Kelley committed 2022-01-02 18:35:38 -05:00
1 parent d1560450ba
commit cafb7df736
66 files changed
+792 -2019

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ fn main() {
AppendChildren { many: 1 },
];
let app: Component = |cx| rsx!(cx, div { "some app" });
let app: Component = |cx| cx.render(rsx!(div { "some app" }));
dioxus_desktop::run(app, (), |c| c.with_edits(edits));
}