diff --git a/examples/counter/rust-toolchain.toml b/examples/counter/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/counter/rust-toolchain.toml +++ b/examples/counter/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/counters/rust-toolchain.toml b/examples/counters/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/counters/rust-toolchain.toml +++ b/examples/counters/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/directives/rust-toolchain.toml b/examples/directives/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/directives/rust-toolchain.toml +++ b/examples/directives/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/error_boundary/rust-toolchain.toml b/examples/error_boundary/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/error_boundary/rust-toolchain.toml +++ b/examples/error_boundary/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/errors_axum/rust-toolchain.toml b/examples/errors_axum/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/errors_axum/rust-toolchain.toml +++ b/examples/errors_axum/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/fetch/rust-toolchain.toml b/examples/fetch/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/fetch/rust-toolchain.toml +++ b/examples/fetch/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/hackernews/Cargo.toml b/examples/hackernews/Cargo.toml index e1e9a055c3..b57ce954bf 100644 --- a/examples/hackernews/Cargo.toml +++ b/examples/hackernews/Cargo.toml @@ -15,10 +15,10 @@ actix-files = { version = "0.6", optional = true } actix-web = { version = "4", optional = true, features = ["macros"] } console_log = "1" console_error_panic_hook = "0.1" -leptos = { path = "../../leptos", features = ["nightly"] } -leptos_meta = { path = "../../meta", features = ["nightly"] } +leptos = { path = "../../leptos" } +leptos_meta = { path = "../../meta" } leptos_actix = { path = "../../integrations/actix", optional = true } -leptos_router = { path = "../../router", features = ["nightly"] } +leptos_router = { path = "../../router" } log = "0.4" serde = { version = "1", features = ["derive"] } gloo-net = { version = "0.2", features = ["http"] } diff --git a/examples/hackernews/rust-toolchain.toml b/examples/hackernews/rust-toolchain.toml index 99fa95aaaf..292fe499e3 100644 --- a/examples/hackernews/rust-toolchain.toml +++ b/examples/hackernews/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-03-31" +channel = "stable" diff --git a/examples/hackernews/src/routes/stories.rs b/examples/hackernews/src/routes/stories.rs index 594667f45c..bc5d2214a4 100644 --- a/examples/hackernews/src/routes/stories.rs +++ b/examples/hackernews/src/routes/stories.rs @@ -37,7 +37,7 @@ pub fn Stories() -> impl IntoView { let hide_more_link = move || { stories.get().unwrap_or(None).unwrap_or_default().len() < 28 - || pending() + || pending.get() }; view! { diff --git a/examples/hackernews/src/routes/story.rs b/examples/hackernews/src/routes/story.rs index 596d47bb73..e268febb67 100644 --- a/examples/hackernews/src/routes/story.rs +++ b/examples/hackernews/src/routes/story.rs @@ -87,7 +87,7 @@ pub fn Comment(comment: api::Comment) -> impl IntoView { { let comments_len = comment.comments.len(); - move || if open() { + move || if open.get() { "[-]".into() } else { format!("[+] {}{} collapsed", comments_len, pluralize(comments_len)) @@ -95,7 +95,7 @@ pub fn Comment(comment: api::Comment) -> impl IntoView { } - {move || open().then({ + {move || open.get().then({ let comments = comment.comments.clone(); move || view! {
{&post.title}
{&post.content}
@@ -103,7 +107,7 @@ fn Post() -> impl IntoView { // when it's first served{&post.title}
{&post.content}
@@ -103,7 +107,7 @@ fn Post() -> impl IntoView { // when it's first served