docs: update local examples and docs to support new syntaxes
This commit is contained in:
1 parent
e495b09bf1
commit
4de16c4779
118 files changed
+520
-1154
No files matched your search
@@ -11,10 +11,10 @@ use dioxus_html as dioxus_elements;
|
||||
use dioxus_web;
|
||||
|
||||
fn main() {
|
||||
dioxus_web::launch(App, |c| c);
|
||||
dioxus_web::launch(App);
|
||||
}
|
||||
|
||||
static App: Component<()> = |cx, _| {
|
||||
static App: Component<()> = |cx| {
|
||||
let doggo = cx.suspend(|| async move {
|
||||
#[derive(serde::Deserialize)]
|
||||
struct Doggo {
|
||||
|
||||
Reference in new issue
Block a user