From 40761706c240666e1aae408b7504b7201d565ed2 Mon Sep 17 00:00:00 2001 From: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:24:04 +0800 Subject: [PATCH] feat: update leptos to v0.7.0-beta5 (#255) --- Cargo.toml | 6 +- demo/src/app.rs | 112 ++++++++++++++++------------------- examples/island/Cargo.toml | 8 +-- examples/ssr_axum/Cargo.toml | 8 +-- 4 files changed, 63 insertions(+), 71 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5da903e..78cda56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,6 @@ thaw_components = { version = "0.2.0-beta2", path = "./thaw_components" } thaw_macro = { version = "0.1.0-beta2", path = "./thaw_macro" } thaw_utils = { version = "0.1.0-beta2", path = "./thaw_utils" } -leptos = { version = "0.7.0-beta4" } -leptos_meta = { version = "0.7.0-beta4" } -leptos_router = { version = "0.7.0-beta4" } +leptos = { version = "0.7.0-beta5" } +leptos_meta = { version = "0.7.0-beta5" } +leptos_router = { version = "0.7.0-beta5" } diff --git a/demo/src/app.rs b/demo/src/app.rs index 2eb3a5b..178b5ce 100644 --- a/demo/src/app.rs +++ b/demo/src/app.rs @@ -59,66 +59,58 @@ fn TheRouter() -> impl IntoView { - {view!{ - - - - - - - - - - - - - - - }.into_inner()} - {view!{ - - - - - - - - - - - - - - - - }.into_inner()} - {view!{ - - - - - - - - - - - - - - - }.into_inner()} - {view!{ - - - - - - - - - - }.into_inner()} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/island/Cargo.toml b/examples/island/Cargo.toml index fcb3730..6f1ad09 100644 --- a/examples/island/Cargo.toml +++ b/examples/island/Cargo.toml @@ -9,10 +9,10 @@ crate-type = ["cdylib", "rlib"] [dependencies] axum = { version = "0.7", optional = true } console_error_panic_hook = "0.1" -leptos = { version = "0.7.0-beta4", features = ["experimental-islands"] } -leptos_axum = { version = "0.7.0-beta4", optional = true } -leptos_meta = { version = "0.7.0-beta4" } -leptos_router = { version = "0.7.0-beta4" } +leptos = { version = "0.7.0-beta5", features = ["experimental-islands"] } +leptos_axum = { version = "0.7.0-beta5", optional = true } +leptos_meta = { version = "0.7.0-beta5" } +leptos_router = { version = "0.7.0-beta5" } tokio = { version = "1", features = ["rt-multi-thread"], optional = true } tower = { version = "0.4", optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true } diff --git a/examples/ssr_axum/Cargo.toml b/examples/ssr_axum/Cargo.toml index b7bca43..527210d 100644 --- a/examples/ssr_axum/Cargo.toml +++ b/examples/ssr_axum/Cargo.toml @@ -9,10 +9,10 @@ crate-type = ["cdylib", "rlib"] [dependencies] axum = { version = "0.7.5", optional = true } console_error_panic_hook = "0.1" -leptos = { version = "0.7.0-beta4" } -leptos_axum = { version = "0.7.0-beta4", optional = true } -leptos_meta = { version = "0.7.0-beta4" } -leptos_router = { version = "0.7.0-beta4" } +leptos = { version = "0.7.0-beta5" } +leptos_axum = { version = "0.7.0-beta5", optional = true } +leptos_meta = { version = "0.7.0-beta5" } +leptos_router = { version = "0.7.0-beta5" } tokio = { version = "1", features = ["rt-multi-thread"], optional = true } tower = { version = "0.5.0", optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true }